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.
 
 
 
 

27 lines
648 B

  1. import sys
  2. sys.path.insert(1, "..")
  3. import SOAPpy
  4. import time
  5. dep = SOAPpy.dateTimeType((2004, 3, 24, 12, 30, 59, 4, 86, 0))
  6. ret = SOAPpy.dateTimeType((2004, 3, 26, 12, 30, 59, 4, 86, 0))
  7. in0 = SOAPpy.structType()
  8. in0._addItem('outwardDate', dep)
  9. in0._addItem('returnDate', ret)
  10. in0._addItem('originAirport', 'den')
  11. in0._addItem('destinationAirport', 'iad')
  12. x = SOAPpy.buildSOAP(
  13. in0,
  14. method="getAirFareQuote",
  15. namespace="urn:SBGAirFareQuotes.sbg.travel.ws.dsdata.co.uk"
  16. )
  17. wsdl = 'http://www.xmethods.net/sd/2001/TemperatureService.wsdl'
  18. proxy = SOAPpy.WSDL.Proxy(wsdl)