Skip to content

Instantly share code, notes, and snippets.

@tjarratt
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save tjarratt/11192853 to your computer and use it in GitHub Desktop.

Select an option

Save tjarratt/11192853 to your computer and use it in GitHub Desktop.
<definitions name="fooDelivery" targetNamespace="http://foo.com/wsdl">
<types>
<xs:schema targetNamespace="http://foo.com/xsd/standard">
<xs:element name="fooInput">
<xs:complexType>
<xs:attribute default="true" name="synchronous" type="xs:boolean" use="optional"/>
<xs:attribute name="sessionId" type="xs:string" use="optional"/>
<xs:attribute name="parentSessionId" type="xs:string" use="optional"/>
<xs:attribute name="logLevel" type="xs:int" use="optional"/>
<xs:attribute name="sessionName" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="fooOutput">
<xs:complexType>
<xs:attribute name="sessionId" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema targetNamespace="http://foo.com/xsd/parameters">
<xs:complexType name="in_deliv_WebserviceVoid">
<xs:sequence>
<xs:element minOccurs="0" name="paramIn" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="in_deliv_WebserviceVoid"><part element="stbPS:fooInput" name="fooInput"/>
<part name="userParameters" type="stbXP:in_deliv_WebserviceVoid"/>
</message>
<message name="out_deliv_WebserviceVoid">
<part element="stbPS:fooOutput" name="fooOutput"/>
</message>
<portType name="fooDeliveryPortType">
<operation name="deliv_WebserviceVoid">
<input message="stbW:in_deliv_WebserviceVoid"/>
<output message="stbW:out_deliv_WebserviceVoid"/>
</operation>
</portType>
<binding name="fooDeliveryBinding" type="stbW:fooDeliveryPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="deliv_WebserviceVoid">
<soap:operation soapAction="WebserviceVoid"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="fooDeliveryService">
<port binding="stbW:fooDeliveryBinding" name="fooDeliveryPortType">
<soap:address location="http://localhost/fooDeliveryService"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment