Skip to content

Instantly share code, notes, and snippets.

@obfuscoder
Created October 28, 2015 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obfuscoder/f5131a5f801ea995c3ff to your computer and use it in GitHub Desktop.
Save obfuscoder/f5131a5f801ea995c3ff to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="xyz" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServiceName" targetNamespace="xyz">
<types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="xyz" xmlns:tns="xyz" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<xsd:complexType name="SomeOperation">
<xsd:sequence>
<xsd:element name="Customer_ID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="Customer_Code" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SomeOperationResponse">
<xsd:sequence>
<xsd:element name="Slots" type="tns:Slot" maxOccurs="unbounded" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Slot">
<xsd:sequence>
<xsd:element minOccurs="0" name="SlotBegin" type="xsd:string"/>
<xsd:element minOccurs="0" name="SlotEnd" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="SomeOperationRequest">
<part name="parameters" type="tns:SomeOperation"/>
</message>
<message name="SomeOperationResponse">
<part name="return" type="tns:SomeOperationResponse"/>
</message>
<portType name="Service_PortType">
<operation name="SomeOperation">
<input message="tns:SomeOperationRequest"/>
<output message="tns:SomeOperationResponse"/>
</operation>
</portType>
<binding name="Service_Binding" type="tns:Service_PortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="SomeOperation">
<soap:operation soapAction="SomeOperation"/>
<input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:somenamespace:ServiceName:SomeOperation"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:somenamespace:ServiceName:SomeOperation"/>
</output>
</operation>
</binding>
<service name="ServiceName_Service">
<port name="ServiceName_Port" binding="tns:Service_Binding">
<soap:address location="https://www.xyz.de/ws/service"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment