Created
August 6, 2024 02:52
-
-
Save encikpulasan/0fe6adca823d539c35bde64d6d52b7a1 to your computer and use it in GitHub Desktop.
Calculator WSDL
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions name="CalculatorService" | |
targetNamespace="http://www.examples.com/wsdl/CalculatorService.wsdl" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:tns="http://www.examples.com/wsdl/CalculatorService.wsdl" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<message name="AddRequest"> | |
<part name="a" type="xsd:int"/> | |
<part name="b" type="xsd:int"/> | |
</message> | |
<message name="AddResponse"> | |
<part name="AddResult" type="xsd:int"/> | |
</message> | |
<message name="SubtractRequest"> | |
<part name="a" type="xsd:int"/> | |
<part name="b" type="xsd:int"/> | |
</message> | |
<message name="SubtractResponse"> | |
<part name="SubtractResult" type="xsd:int"/> | |
</message> | |
<portType name="CalculatorPortType"> | |
<operation name="Add"> | |
<input message="tns:AddRequest"/> | |
<output message="tns:AddResponse"/> | |
</operation> | |
<operation name="Subtract"> | |
<input message="tns:SubtractRequest"/> | |
<output message="tns:SubtractResponse"/> | |
</operation> | |
</portType> | |
<binding name="CalculatorBinding" type="tns:CalculatorPortType"> | |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> | |
<operation name="Add"> | |
<soap:operation soapAction="Add"/> | |
<input> | |
<soap:body use="encoded" namespace="http://www.examples.com/wsdl/CalculatorService.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | |
</input> | |
<output> | |
<soap:body use="encoded" namespace="http://www.examples.com/wsdl/CalculatorService.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | |
</output> | |
</operation> | |
<operation name="Subtract"> | |
<soap:operation soapAction="Subtract"/> | |
<input> | |
<soap:body use="encoded" namespace="http://www.examples.com/wsdl/CalculatorService.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | |
</input> | |
<output> | |
<soap:body use="encoded" namespace="http://www.examples.com/wsdl/CalculatorService.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | |
</output> | |
</operation> | |
</binding> | |
<service name="CalculatorService"> | |
<port name="CalculatorPort" binding="tns:CalculatorBinding"> | |
<soap:address location="http://localhost:3000/calculator"/> | |
</port> | |
</service> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment