SoapUI “failed to load url” error when loading WSD

2019-03-12 05:54发布

I keep having some weird problems. The main one is that I keep getting the following error when trying to add a WSDL to a new project:

Error loading [https://.../token?wsdl]: java.lang.Exception: Failed to load url; https://.../token?wsdl, 0 -

Here's the message recorded in the error.log file:

java.lang.Exception: Failed to load url; https://.../token?wsdl, 0 - 
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:184)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:121)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:535)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
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.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Unknown Source)

I verified that the application at that URL is up and running, and I can get to the WSDL from a web browser, but I keep getting this error message no matter what. I am using SoapUI 4.5.0 (32-bit) on a Windows 7 box. I've also tried the 64-bit version with the same results. It happens whether I am on VPN or not.

Do you know why I might be getting this error?

13条回答
放荡不羁爱自由
2楼-- · 2019-03-12 06:23

I had this issue when trying to use a SOCKS proxy. It appears that SoapUI does not support SOCKS proxys. I am using the Boomerang Chrome app instead.

查看更多
The star\"
3楼-- · 2019-03-12 06:24

The following solution helped me:

-Djsse.enableSNIExtension=false

In SoapUI-5.3.0.vmoptions.

查看更多
Rolldiameter
4楼-- · 2019-03-12 06:26

If you are running your Web Applicaiton with the default port of 8080, please try to change the port to some other value and run your applicaiton again and trigger again your SOAPUI request. As you might have history projects in your SOAP UI workspace with port number 8080, might create issues. Please try this might be helpful to you.

Regards, Ravi.

查看更多
ら.Afraid
5楼-- · 2019-03-12 06:30

Close and reopen soapui. Probably is a bug of the application

查看更多
甜甜的少女心
6楼-- · 2019-03-12 06:31

I have had similar problems and worked around them by saving the WSDL locally. Don't forget to save any XSD files as well. You may need to edit the WSDL to specify an appropriate location for XSDs.

查看更多
来,给爷笑一个
7楼-- · 2019-03-12 06:32

I have had the same problem. I resolved it by disabling the proxy in the SoapUI preferences. (source : http://www.eviware.com/forum/viewtopic.php?f=13&t=12460)

查看更多
登录 后发表回答