Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1565

wsdl2java jaxws binding issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1, 2.0.6
    • Fix Version/s: 2.1.1, 2.0.7
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      XP
      jdk 1.5.0_12

      Description

      Seems to be issues with specifying external jaxws customisations or mixing inline customisations with external customisations.

      I have attached 3 tests cases

      1. Show jaxws (actually jaxb) customisation working - type safe enum & xsd:date --> java.sql.Date

      2. Shows an error if the type safe enum customisation is left inlne and the xsd:date customisation is moved into the external bindings. This external binding customisation works if the inline bindings are removed. Error is below
      [java] WSDLToJava Error: Thrown by JAXB : compiler was unable to honor this enum customization. It is attached to a wrong place, or its inconsistent with other bindings.

      3. If the type safe enum and xsd:date customisation are moved to the external binding then the type safe enum customisation is applied, however the global binding for xsd:date is ignored, no error is show.

      See attached file for the three test cases

        Attachments

        1. binding-issues.rar
          6 kB
          Adrian Corcoran

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              acorcoran Adrian Corcoran
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: