Forum Discussion

josepilatudor's avatar
11 years ago

Problem with not verified SSL and Basic authentication

Hello, I am a user of SOAP UI since a long time,

The problem is that I was using the version plugin (sorry but I don't remember the version) and since few weeks, I updated the plugin and now it is not working my WSDL. This is the Log:

Wed Apr 09 11:47:37 CEST 2014:ERROR:Failed to load url [https://isae.aucorsa.es/Public/Aucorsa.svc?WSDL]
Wed Apr 09 11:47:37 CEST 2014:ERROR:An error occured [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details


And the Error Log:

Wed Apr 09 11:47:37 CEST 2014:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:138)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:534)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:523)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
at com.eviware.x.impl.swt.SwtProgressDialog$InternalRunnableWithProgress.run(SwtProgressDialog.java:138)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Wed Apr 09 11:47:37 CEST 2014:ERROR:org.eclipse.swt.SWTException: Invalid thread access
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4397)
at org.eclipse.swt.SWT.error(SWT.java:4312)
at org.eclipse.swt.SWT.error(SWT.java:4283)
at org.eclipse.swt.widgets.Display.error(Display.java:1204)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:759)
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java:1418)
at com.eviware.x.impl.swt.SwtDialogs.getShell(SwtDialogs.java:46)
at com.eviware.x.impl.swt.SwtDialogs.showExtendedInfo(SwtDialogs.java:255)
at com.eviware.soapui.support.UISupport.showExtendedInfo(UISupport.java:859)
at com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException.show(InvalidDefinitionException.java:152)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:170)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:52)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


After these few months of trying and trying with the Desktop version of SOAP UI (4.5 and even with the newer 5.0 BETA) with different errors but no sucess (SSLHandshakeException, InvalidDefinitionException and so on...), one day I was trying from another laptop which had an old SOAP UI 3.5 version and it worked!!!

I don't know what's the problem, I guess it is related with the certificates (The WSDL I am trying to connect with, has not verified certificates..) but I cannot connect anymore if I am using the newer versions.....
Is it a known bug? Or is it something with the gonna be corrected?

Anyway, thank you very much for the job and for the community!
  • This is probably due to the fact that we've upgraded the Java runtime (JRE) in newer versions of SoapUI (I think it was in the 4.5 release). If you're able to connect with 4.0.1 you're probably affected by this known issue.

    Later versions of the JRE has improved checking of certificates in SSL interactions. Unfortunately this causes problems for some users, likely because they have problems with their certificates or other PKI issues. Unfortunately we can't fix this without downgrading Java, which will make SoapUI less secure, but you can try running the standalone version of SoapUI with an early minor version of JRE 1.6.

    Kind regards,
    Manne Fagerlind, SoapUI developer