Created
July 19, 2014 10:01
-
-
Save benleov/06e2c4ab4d0ef4c04b42 to your computer and use it in GitHub Desktop.
Example WSDL file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<definitions name="HelloService" | |
targetNamespace="http://www.examplesite.com/wsdl/HelloService.wsdl" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:tns="http://www.examplesite.com/wsdl/HelloService.wsdl" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<message name="SayHelloRequest"> | |
<part name="firstName" type="xsd:string" /> | |
</message> | |
<message name="SayHelloResponse"> | |
<part name="greeting" type="xsd:string" /> | |
</message> | |
<portType name="Hello_PortType"> | |
<operation name="sayHello"> | |
<input message="tns:SayHelloRequest" /> | |
<output message="tns:SayHelloResponse" /> | |
</operation> | |
</portType> | |
<binding name="Hello_Binding" type="tns:Hello_PortType"> | |
<soap:binding style="rpc" | |
transport="http://schemas.xmlsoap.org/soap/http" /> | |
<operation name="sayHello"> | |
<soap:operation soapAction="sayHello" /> | |
<input> | |
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" | |
namespace="urn:examples:helloservice" use="encoded" /> | |
</input> | |
<output> | |
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" | |
namespace="urn:examples:helloservice" use="encoded" /> | |
</output> | |
</operation> | |
</binding> | |
<service name="Hello_Service"> | |
<documentation>WSDL File for HelloService</documentation> | |
<port binding="tns:Hello_Binding" name="Hello_Port"> | |
<soap:address location="http://www.examplesite.com/SayHello/" /> | |
</port> | |
</service> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment