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

WSDL doesn't import exception namespaces

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SOAP
    • Labels:
    • Last commented by user?:
      true

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 10 weeks, 4 days ago