jskov
15 years agoNew Contributor
Problems loading WSDL requiring basic auth
Hi
We have a WSDL on an SSL enabled site that requires basic auth.
I am trying to load this WSDL in SoapUI 3.5 eclipse. I have also tried it with 3.0.1, but the behavior is the same:
I try to create a new project, entering the URL for this WSDL.
The GUI first shows an error dialog, then asks me for credentials. Entering these, I can again click on the project creation OK-button, but I am rewarded with the same behavior.
The log shows:
The error log contains:
If I try to access the URL via a browser (FireFox 3.0.4), I am prompted for credentials - after which I can see the WSDL.
Is there any way I can see a log of the traffic to further help figure out what is wrong?
Thanks,
Jesper Skov
We have a WSDL on an SSL enabled site that requires basic auth.
I am trying to load this WSDL in SoapUI 3.5 eclipse. I have also tried it with 3.0.1, but the behavior is the same:
I try to create a new project, entering the URL for this WSDL.
The GUI first shows an error dialog, then asks me for credentials. Entering these, I can again click on the project creation OK-button, but I am rewarded with the same behavior.
The log shows:
Thu Jun 24 12:41:21 CEST 2010:ERROR:Failed to load url [https://app-sdws-dk-t.corp.jyskebank.net/sdws/services/GetPerson]
Thu Jun 24 12:41:21 CEST 2010:ERROR:Loading of definition failed for [https://app-sdws-dk-t.corp.jyskebank.net/sdws/services/GetPerson]; org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END
The error log contains:
Thu Jun 24 12:39:01 CEST 2010:ERROR:com.eviware.soapui.support.SoapUIException: Error importing wsdl
com.eviware.soapui.support.SoapUIException: Error importing wsdl
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(Unknown Source)
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(Unknown Source)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.importWsdl(Unknown Source)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(Unknown Source)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(Unknown Source)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.Exception: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(Unknown Source)
... 33 more
Caused by: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Unknown Source)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Unknown Source)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Unknown Source)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(Unknown Source)
at org.apache.xmlbeans.XmlObject$Factory.parse(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(Unknown Source)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(Unknown Source)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(Unknown Source)
at com.eviware.x.impl.swt.SwtProgressDialog$InternalRunnableWithProgress.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: Unexpected element: TAG_END
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Unknown Source)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Unknown Source)
... 12 more
If I try to access the URL via a browser (FireFox 3.0.4), I am prompted for credentials - after which I can see the WSDL.
Is there any way I can see a log of the traffic to further help figure out what is wrong?
Thanks,
Jesper Skov