Important Notice Regarding Suds 0.3.7
The addition of multiple WSDL service support in Suds 0.3.7 introduced a bug in the setlocation method that the Toolkit uses to rewrite the server URL after authentication to Salesforce. A workaround can be found in version 0.1.2, anyone wishing to use Suds 0.3.7 will need to upgrade. More details can be found at https://fedorahosted.org/suds/ticket/261.
Overview
The goal of this project is to provide a thin layer around the Salesforce SOAP messaging that consumes both the Enterprise and Partner WSDL formats and implements the Salesforce API 17.0 spec.
The Salesforce Python Toolkit features the following:
- Support for both the Enterprise and Partner WSDL
- A single, unified interface to Enterprise and Partner methods and objects
- Transparent SOAP interaction management
- Endpoint rewriting
- SOAP header management
- SOAP namespace prefix handling for methods and objects
Included in the tarball is EXAMPLES, which includes a code example for every Salesforce API method call.
Dependencies
The Toolkit requires Suds, available at https://fedorahosted.org/suds. It has been tested extensively with Suds 0.3.6+.
Source
The source is currently available via anonymous SVN and as a tarball. Release snapshots can be found in tags/.
Feedback
Please feel free to drop me a line at lanstein yahoo com if you have any feedback, it would certainly be appreciated.
Acknowledgements
I would like to thank my employer, Splunk, Inc., for donating time to this and many other open-source projects.
I would particularly like to thank my colleague Gareth Watts, without whose invaluable advice and guidance this project would not exist.