Forum Discussion

roshanpradeep's avatar
14 years ago

SOPAUI 4.0.0 InvalidDefinitionException

Hi

I am using SOAPUI 4.0.0 open source version and getting the InvalidDefinitionException exception when adding a WSDL to a new project. This error gives every webservice and I can confirm that the webservices are working (even I am getting the same error for the webservice you mention in your samples http://www.webservicex.net/WeatherForecast.asmx?wsdl).

The WSDL is a valid one and it is loaded with IE without any issue.

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:129)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:532)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:521)
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)

Please find my project files.
  • MaxVR's avatar
    MaxVR
    Occasional Contributor
    Hello,

    I face exactly same problem - we generate a WSDL file from our system (SAP's middleware PI) and it's not possible to add it to SoapUI project. When I use oXygene's WSDL SOAP Analyzer, everything seems fine. I'm going to downgrade back to 3.0 and use it till the problem is described.

    Thanks for any reaction in advance.
    Rgds
    Tom