Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-486

WSDL11Reader has an issue with importing a schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC2
    • jbossws-1.0EA
    • tools-jaxrpc
    • None

      Somehow the tools handling of schema imports in wsdl has to be checked further. Here is a case where WSDL11Reader chokes on a wsdl that the Microsoft world has created.

      Please disregard all the wsdl extensions like policy, addressing etc from the wsdl. The real issue is the handling of the schema imports.

      Before:
      $> ant -Dtest=org.jboss.test.ws.wsdl11.MicrosoftGeneratedWSDLTestCase one-test
      one-test:
      [junit] Running org.jboss.test.ws.wsdl11.MicrosoftGeneratedWSDLTestCase
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.203 sec
      [junit] Test org.jboss.test.ws.wsdl11.MicrosoftGeneratedWSDLTestCase FAILED

      The wsdl and the imported xsd are in:
      /jboss-head/webservice/test/resources/wsdl11/microsoft--interop/rpclit

      $ ls
      BaseTypesRpcLit.wsdl BaseTypesRpcLit.xsd

              jgreene@redhat.com Jason Greene
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: