Search code examples
wsdlsoapui

soap parsing wsdl error: Unexpected element: TAG_END


I have an error importing a WSDL definition from an ASP.NET version 4 Visual Studio 2010 Express project, into SOAPUI 4.5.1

URL would be like

http://localhost:7929/ws/AX.asmx?WSDL

Error generated

Error loading [http://localhost:7929/ws/AX.asmx?WSDL]: org.apache.xmlbeans.XmlException:
org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END

Error trace:

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)
...

Any suggestions most welcome!


Solution

  • I had the same issue with Soap UI 5.2.0

    The solution for me was to turn off the proxy (as suggested by @user518066)

    enter image description here