Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://www.example.com/adder/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="adder"
- targetNamespace="http://www.example.com/adder/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://www.example.com/adder/">
- <xsd:element name="add">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="a" type="xsd:int" />
- <xsd:element name="b" type="xsd:int"></xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="addResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="answer" type="xsd:int" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="addRequest">
- <wsdl:part element="tns:add" name="parameters" />
- </wsdl:message>
- <wsdl:message name="addResponse">
- <wsdl:part element="tns:addResponse" name="parameters" />
- </wsdl:message>
- <wsdl:portType name="adder">
- <wsdl:operation name="add">
- <wsdl:input message="tns:addRequest" />
- <wsdl:output message="tns:addResponse" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="adderSOAP" type="tns:adder">
- <soap:binding style="document"
- transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="add">
- <soap:operation soapAction="http://www.example.com/adder/add" />
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="adder">
- <wsdl:port binding="tns:adderSOAP" name="adderSOAP">
- <soap:address location="http://localhost:7001/adder" />
- </wsdl:port>
- </wsdl:service>
- </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement