Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13414

No Error reported when WS Client code generation fails

XMLWordPrintable

    • Hide

      1. Create a Dynamic Web Project
      2. Add a WSDL that has two elements (see attached example)
      3. Right click on WSDL and select Web Services->Generate Client
      4. Follow the steps
      5. No source is generated but no error is reported either.

      Show
      1. Create a Dynamic Web Project 2. Add a WSDL that has two elements (see attached example) 3. Right click on WSDL and select Web Services->Generate Client 4. Follow the steps 5. No source is generated but no error is reported either.
    • Workaround Exists
    • Hide

      Use wsconsume.sh from the command line to see the error if no sources are generated by the JBDS.

      Show
      Use wsconsume.sh from the command line to see the error if no sources are generated by the JBDS.

      If you have a WSDL which would normally fail because of JAXB collision. From command line you would get an error like this:

      Failed to invoke WSDLToJava
      org.apache.cxf.tools.common.ToolException: Thrown by JAXB:
      Thrown by JAXB:
      Two declarations cause a collision in the ObjectFactory class.
      ...

      However, in JBDS you don't get any error. It just doesn't create any sources and there is no indication of what the issue is.

        1. echoService.wsdl
          2 kB
          Mustafa Musaji
        2. new-error.png
          43 kB
          Brian Fitzpatrick
        3. screenshot-1.png
          49 kB
          Brian Fitzpatrick

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              rhn-support-mus Mustafa Musaji
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: