Forum Discussion

paulprogrammer's avatar
paulprogrammer
New Contributor
13 years ago

WSDL fails to load: how can i get better logs?

Hi All,

I'm trying SoapUI for the second time. When I try to create a new project from our WSDL, I get a dialog that says

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


The soapui log is also not informative:

2013-06-03 10:07:30,612 WARN  [errorlog] Failed to delete temporary project file; C:\Users\paulwill\Documents\{mumble}\project-temp-9102235176726310796.xml
2013-06-03 10:07:32,634 ERROR [errorlog] 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: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:236)
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)


Is there any way to boost the logging to find out what resources are invalid?

Some minor notes:

  • The server certificate is a snake oil certificate.

  • I am behind a proxy server, but shouldn't need access to the internet (unless soapui is trying to download the .xsd for wsdl or something); but I think I have the proxy correctly configured anyway.


Note that this WSDL does validate, parse, load and generate code using our other tools, so I assume this is an issue with how I'm using SoapUI.

Thanks!

3 Replies

  • nmrao's avatar
    nmrao
    Community Hero
    Note that this WSDL does validate, parse, load and generate code using our other tools, so I assume this is an issue with how I'm using SoapUI.

    Would you please name the tools tried?
    What happens if you type the wsdl url in the browser?
    Looks you are trying to load wsdl from a server. But looks, you have the wsdl file with you. Have you tried importing that wsdl, what happens?
  • Would you please name the tools tried?

    Parasoft SOATest

    What happens if you type the wsdl url in the browser?

    Looks like WSDL

    Looks you are trying to load wsdl from a server. But looks, you have the wsdl file with you. Have you tried importing that wsdl, what happens?

    Loads correctly. I can work with this for now, but our standard is to load from the server. Pointers to resolving the issue are still hoped for.
  • nmrao's avatar
    nmrao
    Community Hero
    Thank you for prompt response for each of the query.

    Yes, I got you. Usually, wsdl files are provided in both online and offline modes. If it is expected to get online, and it is not able to load by the tool, it would be better to get in touch with the service provide.