Dummy replacement for Weather - Temperature
Endpoints
Contributed Clients What is this? Add / Edit / Delete Client
Detailed Description
Unfortuantely, we have had to discontinue the old temperature service - the service
provider we were using to obtain the data has discontinued our access.
However, for those of you doing demos with the service, to ease the transition, we've put
up a replica of the old temp service that simply returns a hardcoded temperature value (52
degrees). Not very useful but at least you can still do the demo.
Compared to the original temp service, the only change is that the method namespace has
changed to "urn:xmethods-Temperature-Demo", and the new WSDL URL reflects this.
We apologize for any inconvenience.
Usage Notes
Request Parameter Schema:
<element name="zipcode" type="string" />
Response Parameter Schema:
<element name="return" type="float" />
Encoding Style for both request and response:
http://schemas.xmlsoap.org/soap/encoding
----------------------------------------------------------
Sample Request envelope:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:getTemp xmlns:ns1="urn:xmethods-Temperature" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<zipcode xsi:type="xsd:string">94041</zipcode>
</ns1:getTemp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-----------------------------------------------------------
Sample Response Envelope:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:getTempResponse xmlns:ns1="urn:xmethods-Temperature" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:float">68.0</return>
</ns1:getTempResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Help Message Board