suds-jurko

raw JSON →
0.6 verified Mon Apr 27 auth: no python maintenance

A lightweight SOAP client library, forked from suds by Jurko Gospodnetić. Version 0.6 is the latest stable release. The project is in maintenance mode with infrequent updates.

pip install suds-jurko
error ImportError: No module named suds
cause Installed the wrong package (original suds) or missing suds-jurko.
fix
Run: pip install suds-jurko
error suds.WebFault: Server raised fault
cause SOAP service returned an error; often due to incorrect method call or parameters.
fix
Print client to see available methods: print(client). Verify method name and parameter types.
deprecated suds-jurko is in maintenance mode; consider using zeep for new projects that require active development and modern features.
fix Use 'zeep' library instead: pip install zeep, then from zeep import Client.
gotcha Always set cache=None when debugging; the default Cache object can cause stale results and obscure errors.
fix Instantiate Client with cache=None: Client(url, cache=None).

Create a SOAP client from a WSDL URL.

from suds.client import Client
url = 'http://example.com/service?wsdl'
client = Client(url, cache=None)
print(client)