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

WSDL doesn't import exception namespaces

    XMLWordPrintable

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved: