I'm attempting to get Crowd to work with the Python ZSI code-generation facilities. However when running wsdl2py on the Crowd WSDL I get the following error:
ZSI.generate.Wsdl2PythonError: No built-in typecode for type definition("http://exception.integration.crowd.atlassian.com","InvalidAuthorizationTokenException"): <schema targetNamespace="urn:SecurityServer"><element name="InvalidAuthorizationTokenException">
This appears to be because the exception namespaces are not imported. Adding the lines:
<xsd:import namespace="http://exception.integration.crowd.atlassian.com"/>
<xsd:import namespace="http://rmi.java"/>
to the urn:SecurityServer schema appears to fix this.
[CWD-159] WSDL doesn't import exception namespaces
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1510259 ] | New: JAC Bug Workflow v3 [ 3365021 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1393332 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1510259 ] |
Workflow | Original: Crowd Development Workflow v2 [ 273626 ] | New: Simplified Crowd Development Workflow v2 [ 1393332 ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "Wiki Page (Extranet)" [ 40822 ] |
I upgraded to 2.7.2 and now it works, you can close this one as fixed in 2.7.2 and duplicate of
CWD-3838