Skip to content

Instantly share code, notes, and snippets.

@dkhenry
Created September 20, 2011 15:04
Show Gist options
  • Save dkhenry/1229349 to your computer and use it in GitHub Desktop.
Save dkhenry/1229349 to your computer and use it in GitHub Desktop.
WSDL Excerpt that causes Exception
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" name="SevOneApi" targetNamespace="http://www.sevone.com/" xmlns:tns="http://www.sevone.com/" xmlns:impl="http://www.sevone.com/" xmlns:xsd1="http://www.sevone.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sevone.com/">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" />
<complexType name="SO_Unit">
<sequence>
<element name="id" type="xsd:integer"/>
<element name="name" type="xsd:string"/>
<element name="abbreviation" type="xsd:string"/>
<element name="isConversion" type="xsd:integer"/>
<element name="conversionBase" type="xsd:string"/>
<element name="conversionOperation" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</types>
<portType name="SevOneApiPortType">
<operation name="unit_getUnits">
<input message="tns:Unit_getUnitsRequest"/>
<output message="tns:Unit_getUnitsResponse"/>
</operation>
</portType>
<binding name="SevOneApiBinding" type="tns:SevOneApiPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="unit_getUnits">
<soap:operation soapAction="urn:SevOneApi#SevOneApiServer#unit_getUnits"/>
<input>
<soap:body use="encoded" namespace="http://www.sevone.com/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body parts="return" use="encoded" namespace="http://www.sevone.com/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<message name="Unit_getUnitsRequest"/>
<message name="Unit_getUnitsResponse">
<part name="return" type="tns:ArrayOfSO_Unit"/>
</message>
<service name="SevOneApiService">
<port name="SevOneApiPort" binding="tns:SevOneApiBinding">
<soap:address location="http://192.168.32.12/soap3/api.php"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment