Skip to content

Instantly share code, notes, and snippets.

@brennanneoh
Created April 28, 2011 04:50
Show Gist options
  • Save brennanneoh/945824 to your computer and use it in GitHub Desktop.
Save brennanneoh/945824 to your computer and use it in GitHub Desktop.
WSDL File for Y! Weather Server
<?xml version='1.0' encoding='UTF-8' ?>
<definitions name='Weather'
targetNamespace='urn:Weather'
xmlns:tns='urn:Weather'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
<message name='getConditionRequest'>
<part name='location_string' type='xsd:string'/>
</message>
<message name='getConditionResponse'>
<part name='result' type='xsd:string'/>
</message>
<message name='getForecastRequest'>
<part name='location_string' type='xsd:string'/>
</message>
<message name='getForecastResponse'>
<part name='result' type='xsd:string'/>
</message>
<portType name='WeatherPortType'>
<operation name='getCondition'>
<input message='tns:getConditionRequest'/>
<output message='tns:getConditionResponse'/>
</operation>
<operation name='getForecast'>
<input message='tns:getForecastRequest'/>
<output message='tns:getForecastResponse'/>
</operation>
</portType>
<binding name='WeatherBinding' type='tns:WeatherPortType'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='getCondition'>
<soap:operation soapAction='urn:xmethods-delayed-quotes#getCondition'/>
<input>
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output>
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
<operation name='getForecast'>
<soap:operation soapAction='urn:xmethods-delayed-quotes#getForecast'/>
<input>
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output>
<soap:body use='encoded' namespace='urn:xmethods-delayed-quotes'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='WeatherService'>
<port name='WeatherPort' binding='WeatherBinding'>
<soap:address location='http://127.0.0.1/weather/server.php'/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment