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.org/calculatorWS/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="calculatorWS"
- targetNamespace="http://www.example.org/calculatorWS/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://www.example.org/calculatorWS/">
- <xsd:element name="calculatorRequest">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="operand1" type="xsd:int"/>
- <xsd:element name="operand2" type="xsd:int"/>
- <xsd:element name="operation" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="calculatorResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="response" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="calculatorWSRequest">
- <wsdl:part element="tns:calculatorRequest" name="request"/>
- </wsdl:message>
- <wsdl:message name="calculatorWSResponse">
- <wsdl:part element="tns:calculatorResponse" name="response"/>
- </wsdl:message>
- <wsdl:portType name="calculatorWS">
- <wsdl:operation name="calculate">
- <wsdl:input message="tns:calculatorWSRequest"/>
- <wsdl:output message="tns:calculatorWSResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="calculatorWSSOAP" type="tns:calculatorWS">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="calculate">
- <soap:operation soapAction="http://www.example.org/calculatorWS/calculate"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="calculatorWS">
- <wsdl:port binding="tns:calculatorWSSOAP" name="calculatorWSPort">
- <soap:address location="http://localhost:8080/CalculatorWS"/>
- </wsdl:port>
- </wsdl:service>
- </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement