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.
 
 
 
 

23 lines
754 B

  1. WSDL NOTES:
  2. Release 0.9.9 and later include logic for dealing with web service
  3. description language (WSDL) files.
  4. - SOAPpy.WSDL provides a SOAP Proxy object that parses a WSDL file
  5. and provides access to the listed services:
  6. url = 'http://www.xmethods.org/sd/2001/TemperatureService.wsdl'
  7. zip = '01072'
  8. proxy = SOAPpy.WSDL.Proxy(url)
  9. temp = proxy.getTemp(zip)
  10. print 'Temperature at', zip, 'is', temp
  11. - On the server, you can allow the client to download the WSDL for
  12. a service by sending a request of the form by adding a do_GET
  13. method to the SOAPRequestHandler. [Not yet working when
  14. debug=FALSE. Add example here when working]
  15. $Id: WSDL.txt,v 1.2 2005/02/21 20:09:34 warnes Exp $