Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-159

WSDL doesn't import exception namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • None
    • None
    • SOAP

      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.

              Unassigned Unassigned
              ssmith Steve Smith (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: