Forum Discussion

souvagyamuduli's avatar
souvagyamuduli
New Contributor
12 years ago

Error Loading WSDL, InvalidDefinitionException

Hi All,
I tried to browse the WSDL in browser, it loaded successfully.
When I try to load in soapUI to create the request template it says error loading...

I followed the discussion related to this in forum but nothing helps me.
I have enabled the proxy in File->Preference->Proxy Settings by using the internet proxy that is configured in my Google Chromo browser. tried with disabling but no difference.

I had soapUI-x32-4.5.1.1-SNAPSHOT but I uninstall and reinstalled soapUI-x64-4.5.1, no difference.
Also observed that the soapui-errors.txt is not getting updated. so copied the following error from error log

Error:-
Fri Mar 01 12:21:14 CET 2013: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 java.lang.Thread.run(Unknown Source)
-------------
Please let me know if anyone aware about the fix.

Thanks in advance..
Souvagya

1 Reply

  • got a work around to get rid out of it.
    What I observe soapUI is not able to import the refered schema definition or wsdl.

    So I downloaded the xsd into local machine as it is browsed in browser and modified the wsdl to schemaLocation. It works now..

    Syntax:
    -for Windows, the xsd file is saved as 'file\\\P:\Souvagya\schema0.xml'
    before: schemaLocation="https://.....?xsd=1"
    after: schemaLocation="file\\\P:\Souvagya\schema0.xml"

    Thanks,
    Souvagya