Has anyone recently accessed the Crowd SOAP API through the Suds Python Library?
I found that several people have done this successfully in the past, but Atlassian seems to have changed its WSDL since then to make the existing tip not entirely useful.
Below is the simplest example I tried:
from suds.client import Client url = 'https://crowd.hugeinc.com/services/SecurityServer?wsdl' client = Client(url)
Unfortunately, this generates the following error:
Traceback (most recent call last): File "<input>", line 1, in <module> File "/Users/soconnor/.virtualenvs/hugeface/lib/python2.6/site-packages/suds/client.py", line 116, in __init__ sd = ServiceDefinition(self.wsdl, s) File "/Users/soconnor/.virtualenvs/hugeface/lib/python2.6/site-packages/suds/servicedefinition.py", line 58, in __init__ self.paramtypes() File "/Users/soconnor/.virtualenvs/hugeface/lib/python2.6/site-packages/suds/servicedefinition.py", line 137, in paramtypes item = (pd[1], pd[1].resolve()) File "/Users/soconnor/.virtualenvs/hugeface/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 63, in resolve raise TypeNotFound(qref) TypeNotFound: Type not found: '(AuthenticatedToken, http://authentication.integration.crowd.atlassian.com, )'
I tried both the binding and the doctors to solve this problem to no avail. None of the approaches led to any changes. Any additional recommendations or suggestions would be incredibly helpful.
source share