Last active
March 12, 2022 19:48
-
-
Save priyankahdp/50de2e3646bddeb75b34b131d7c6cdea to your computer and use it in GitHub Desktop.
SAMPLE WSDL
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- ====================ROOT-BEGIN===========================--> | |
<definitions name ="WeatherWebService"> | |
<!-- ====================ROOT-END===========================--> | |
<!-- ====================ABSTRACT-PART-BEGIN===========================--> | |
<message name="WeatherService_getWeather"> | |
<part name="City" type="xsd:string"/> <!-- REQUEST PARAMETERS(s) --> | |
</message> | |
<message name="WeatherService_getWeatherResponse"> | |
<part name="result" type="xsd:string"/> <!-- RESPONSE PARAMETER(s) --> | |
</message> | |
<portType name="WeatherService"> <!-- PORT TYPE --> | |
<operation name="getWeather" parameterOrder="City"> <!-- ONE OPERATION --> | |
<input message="tns:WeatherService_getWeather"/> | |
<output message="WeatherService_getWeatherResponse/> | |
</operation> | |
</portType> | |
<!-- ====================ABSTRACT-PART-END===========================--> | |
<!-- ====================IMPLEMENTATION-PART-BEGIN===========================--> | |
<binding name="WeatherServiceBinding" type="tns:WeatherService"> <!-- BIND PROTOCOL --> | |
<operation name="getWeather"> | |
<input> | |
<soap:body use="literal" namespace="urn:WeatherWebService"/> | |
</input> | |
<output> | |
<soap:body use:literal namespace="urn:WeatherWebService"/> | |
</output> | |
<soap:operation soapAction=""/> | |
</operation> | |
<soap:binding transport="http://schemas.xmlsoap.ord/soap/http" style="rpc"/> | |
</binding> | |
<service name="WeatherWebService"> | |
<port name="WeatherServicePort" binding="tns:WeatherServiceBinding"> <!-- BIND SERVICE --> | |
<soap:address location=http://mycompany.com/weatherservice"/> | |
</port> | |
</service> | |
<!-- ====================IMPLEMENTATION-PART-END===========================--> | |
</definitions> | |
<message name="getFrequentGradeRequest"> | |
<part name="courseCode" type="xs:string"/> | |
</message> | |
<message name="getFrequentGradeResponse"> | |
<part name="value" type="xs:string"/> | |
</message> | |
<portType name="frequencyOfGrades"> | |
<operation name="getFrequesntGrade"> | |
<input message="getFrequentGradeRequest"/> | |
<output message="getFrequentGradeResponse"/> | |
</operation> | |
</portType> | |
<binding type="getFrequentGradeBinding" name="grade"> | |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> | |
<operation> | |
<soap:operation soapAction="http://dsv.su.se/getFrequesntGrade"/> | |
<input><soap:body use="literal"/></input> | |
<output><soap:body use="literal"/></output> | |
</operation> | |
</binding> | |
<service> | |
<port name="getFrequentGradePort” binding =“getFrequentGradeBinding”> | |
<soap:address location = http://example.com/getFrequentGrade"/> | |
</port> | |
</service> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment