public
Created

Example WSDL for Stack Overflow 8345995

  • Download Gist
8345995.xml
Liquid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="urn:order" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="order"
targetNamespace="urn:order">
<types>
<xsd:schema targetNamespace="urn:order">
<xsd:complexType name="OrderItem">
<xsd:all>
<xsd:element name="code" type="xsd:string" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="OrderItems">
<xsd:sequence>
<xsd:element name="item" type="tns:OrderItem" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Response">
<xsd:all>
<xsd:element name="code" type="xsd:string" />
<xsd:element name="description" type="xsd:string" />
<xsd:element name="success" type="xsd:boolean" />
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<portType name="OrderPort">
<operation name="createOrder">
<input message="tns:createOrderIn" />
<output message="tns:createOrderOut" />
</operation>
</portType>
<binding name="OrderBinding" type="tns:OrderPort">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="createOrder">
<soap:operation
soapAction="http://example.net/order#createOrder" />
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:order" />
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:order" />
</output>
</operation>
</binding>
<service name="OrderService">
<port name="OrderPort" binding="tns:OrderBinding">
<soap:address location="http://example.net/request" />
</port>
</service>
<message name="createOrderIn">
<part name="items" type="tns:OrderItems" />
</message>
<message name="createOrderOut">
<part name="return" type="tns:Response" />
</message>
</definitions>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.