Sidebar

"Unable to save record: ...InvalidDefinitionException" when saving Soap WebService

0 votes
1.2K views
asked Jun 23, 2015 by brandon-w-8204 (30,630 points)

I am setting up a web service and when after i download the wsdl and try to save i get this error.

Unable to save record: Unable to read WSDL: com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException

What does this mean and how can i get this to save.

1 Answer

0 votes

The most common cause of this is a import in the WSDL that is not accessible by qie. The import points the WSDL to another URL to get additional information.

Currently the only way to get this to save in qvera is to remove the import line that is failing. 

example line: 

<wsdl:import location="https://donotwork.donotwork.com/?wsdl=test" namespace="http://test.test.test"/>

The way to find the import line that is failing is to review the "qie.log" in the "C:/programdata/qie/logs" folder. Look for the following "ERROR com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader -". This will have a URL that you can search for in the wsdl.

 

answered Jun 23, 2015 by brandon-w-8204 (30,630 points)
edited Jun 24, 2015 by brandon-w-8204
...