Spector
11 years agoNew Contributor
WSDL works fine in Visual Studio but not in SoapUI?
Hi,
I have a WSDL that is hostade in IIS8. This WSDL have been used to generate proxy classes from within Visual Studio without any problems.
Now I need to setup a Mock service (with request/response) but when I enter the URL to the local(IIS) WSDL and hit OK I get the following exception :
Error loading [http://localhost/MySite/wsdl/HsaWsInteraction_3.14.wsdl]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character: 0xe4 0x6e 0x73
This is from the SoapUI Log :
Fri Jan 17 12:02:12 CET 2014:ERROR:Failed to load url [http://localhost/MySite/wsdl/HsaWsInteraction_3.14.wsdl]
Fri Jan 17 12:02:12 CET 2014:ERROR:An error occurred [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
This is from the error log :
Fri Jan 17 12:03:38 CET 2014: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.makeInvalidDefinitionException(WsdlLoader.java:140)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:127)
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)
What is wrong?
I have a WSDL that is hostade in IIS8. This WSDL have been used to generate proxy classes from within Visual Studio without any problems.
Now I need to setup a Mock service (with request/response) but when I enter the URL to the local(IIS) WSDL and hit OK I get the following exception :
Error loading [http://localhost/MySite/wsdl/HsaWsInteraction_3.14.wsdl]: org.apache.xmlbeans.XmlException: java.io.CharConversionException: Malformed UTF-8 character: 0xe4 0x6e 0x73
This is from the SoapUI Log :
Fri Jan 17 12:02:12 CET 2014:ERROR:Failed to load url [http://localhost/MySite/wsdl/HsaWsInteraction_3.14.wsdl]
Fri Jan 17 12:02:12 CET 2014:ERROR:An error occurred [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
This is from the error log :
Fri Jan 17 12:03:38 CET 2014: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.makeInvalidDefinitionException(WsdlLoader.java:140)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:127)
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)
What is wrong?