Python, Suds and Microsoft Web Services

Hey all,

If you need to interact with Microsoft Web Services from python grab suds from whatever repo you have handy and relax! I had a brief dabble with Soappy but it seems this is now deprecated and had a couple of issues.

Here is your quickstart to talk to a soap based .net web service with suds


from suds.client import Client

#chances are you have a asmx url, make sure you add

# ?wsdl on the end

url = "https://www.yourwebsite.org/yourwebservice/webservice.asmx?wsdl"

client = Client(url)

print client.service.yourMethod(args)

Hope it helps!

Published: August 30 2011

  • category:
blog comments powered by Disqus