Advertisement
Guest User

Untitled

a guest
Sep 26th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. import logging
  2.  
  3. url = "http://localhost:8080/?wsdl"
  4. #url = "http://127.0.0.1:8080/testt/soap/description"
  5.  
  6. logging.basicConfig(level=logging.INFO)
  7. logging.getLogger("suds.client").setLevel(logging.DEBUG)
  8.  
  9. from suds.client import Client
  10. client = Client(url)
  11.  
  12. result = client.service.testf("aaa", "bbb")
  13. print result
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement