A fork of https://github.com/Synerty/SOAPpy-py3 This is a working tree till fixes get imported upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
1.5 KiB

  1. <?xml version="1.0"?>
  2. <definitions name="TemperatureService" targetNamespace="http://www.xmethods.net/sd/TemperatureService.wsdl" xmlns:tns="http://www.xmethods.net/sd/TemperatureService.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3. <message name="getTempRequest">
  4. <part name="zipcode" type="xsd:string"/>
  5. </message>
  6. <message name="getTempResponse">
  7. <part name="return" type="xsd:float"/>
  8. </message>
  9. <portType name="TemperaturePortType">
  10. <operation name="getTemp">
  11. <input message="tns:getTempRequest"/>
  12. <output message="tns:getTempResponse"/>
  13. </operation>
  14. </portType>
  15. <binding name="TemperatureBinding" type="tns:TemperaturePortType">
  16. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  17. <operation name="getTemp">
  18. <soap:operation soapAction=""/>
  19. <input>
  20. <soap:body use="encoded" namespace="urn:xmethods-Temperature" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  21. </input>
  22. <output>
  23. <soap:body use="encoded" namespace="urn:xmethods-Temperature" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  24. </output>
  25. </operation>
  26. </binding>
  27. <service name="TemperatureService">
  28. <documentation>Returns current temperature in a given U.S. zipcode </documentation>
  29. <port name="TemperaturePort" binding="tns:TemperatureBinding">
  30. <soap:address location="http://services.xmethods.net:80/soap/servlet/rpcrouter"/>
  31. </port>
  32. </service>
  33. </definitions>