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.
 
 
 
 

24 lines
448 B

  1. #!/usr/bin/env python
  2. # Copyright (c) 2001 actzero, inc. All rights reserved.
  3. import sys
  4. sys.path.insert(1, "..")
  5. from SOAPpy import *
  6. # Uncomment to see outgoing HTTP headers and SOAP and incoming
  7. #Config.debug = 1
  8. Config.BuildWithNoType = 1
  9. Config.BuildWithNoNamespacePrefix = 1
  10. hd = headerType(data = {"mystring": "Hello World"})
  11. server = SOAPProxy("http://localhost:9900/", header=hd)
  12. print server.echo("Hello world")
  13. server.quit()