Paul's Programming Notes PostsRSSGithub

Easiest Way To Consume .Net Web Services - Python

The suds library is the easiest way I found to consume .NET SOAP web services from Python, with Python acting as the web service client. I first picked it up from Jan Sipke’s tutorial.

Here’s an example of my simple client:

from suds.client import Client
client = Client("http://xxx.xxx.xxx.xxx/API/Info.asmx?WSDL")
client.service.getInfo("05/12/2013", "05/12/2013")