Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1243 Resolve JBoss common jax-ws testsuite issues
  3. CXF-2114

java2ws generates invalid import statement when using member classes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4
    • 2.0.11, 2.1.5
    • None
    • None

    Description

      This is related to https://jira.jboss.org/jira/browse/JBWS-2506 .

      When doing java->wsdl using tools, we get wrong import lines when member classes are referenced in the endpoint implementation. That's because the imported type name is directly used in the velocity template and it contains "$" for member classes.

      For instance, if the @XmlJavaTypeAdapter annotation is used (it has a DEFAULT static member class), we get this import statement:

      javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT

      Attachments

        1. CXF-2114.txt
          1 kB
          Alessio Soldano

        Activity

          People

            asoldano Alessio Soldano
            asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: