Skip to content

Instantly share code, notes, and snippets.

@cjgiridhar
Created September 6, 2012 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjgiridhar/3653090 to your computer and use it in GitHub Desktop.
Save cjgiridhar/3653090 to your computer and use it in GitHub Desktop.
Tornado - SOAP Client
import suds
## Invoke add method of MathService
url = 'http://localhost:8080/MathService?wsdl'
client = suds.client.Client(url,cache=None)
print client.service.add(2,3)
print "Request sent"
print client.last_sent()
print "Response received"
print client.last_received()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment