Web Services Description example


<definitions name="Temperature"
  targetNamespace="http://weather.com/USservice"
  [... xmlns declarations ...]>

<message name="message3">
  <part name="zipcode"
        type="xsd:nonNegativeInteger"/>
  <part name="temperature" type="xsd:short"/>
</message>

<interface name="Temperature2">
  <operation name="setTemperature">
    <input message="us:message3"/>
  </operation>
</interface>
</interface>

<interfaceBinding name="TemperaturePOSTBinding"
      type="us:Temperature2">
 <http:binding verb="POST"/>
 <operation name="us:setTemperature">
   <http:operation
     location="SetTemperature"/>
   <input>
     <mime:content
       type="application/x-www-form-urlencoded"/>
   </input>
 </operation>
</interfaceBinding>

<service name="USTemperatureService">
  <endpoint name="set"
    binding="us:TemperaturePOSTBinding">
    <http:address
      location="http://weather.com/" />
  </endpoint>
</service>

</definitions>