topical media & game development
basic-xml-15-listing31all.xml / xml
<?xml version="1.0"?>
<definitions name="temperature"
targetNamespace="http://www.example.com/temperature"
xmlns:typens="http://www.example.com/temperature"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema xmlns=""
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
targetNamespace="http://www.example.com/temperature">
<xsd:complexType name="temperatureRequestType">
<xsd:sequence>
<xsd:element name="where" type="xsd:string" />
<xsd:element name="when" type="xsd:date"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="temperatureResponseType">
<xsd:sequence>
<xsd:element name="temperature" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="TemperatureRequestMsg">
<part name="getTemperature" type="typens:temperatureRequestType"/>
</message>
<message name="TemperatureResponseMsg">
<part name="temperatureResponse" type="typens:temperatureResponseType"/>
</message>
<portType name="TemperatureServicePortType">
<operation name="GetTemperature">
<input message="typens:TemperatureRequestMsg"/>
<output message="typens:TemperatureResponseMsg"/>
</operation>
</portType>
<binding name="TemperatureBinding" type="typens:TemperatureServicePortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetTemperature">
<soap:operation />
<input>
<soap:body use="encoded"
encodingStyle="http://www.w3.org/2003/05/soap-encoding"
namespace="http://www.example.com/temperature" />
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://www.w3.org/2003/05/soap-encoding"
namespace="http://www.example.com/temperature" />
</output>
</operation>
</binding>
</definitions>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.