How can I consume a WSDL (SOAP) web service in Python?

Posted by DavidM on Stack Overflow See other posts from Stack Overflow or by DavidM
Published on 2008-09-22T14:58:53Z Indexed on 2010/05/09 18:48 UTC
Read the original article Hit count: 194

Filed under:
|
|

I want to use a WSDL SOAP based web service in Python. I have looked at the Dive Into Python code but the SOAPpy module does not work under Python 2.5.

I have tried using suds which works partly, but breaks with certain types (suds.TypeNotFound: Type not found: 'item').

I have also looked at Client but this does not appear to support WSDL.

And I have looked at ZSI but it looks very complex. Does anyone have any sample code for it?

The WSDL is https://ws.pingdom.com/soap/PingdomAPI.wsdl and works fine with the PHP 5 SOAP client.

© Stack Overflow or respective owner

Related posts about python

Related posts about web-services