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

An invalid package name is generated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.6
    • Fix Version/s: 3.2.14, 3.3.7, 3.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      WSL Ubuntu 18.04 on Windows 10, Java 11

    • Estimated Complexity:
      Unknown

      Description

      When generating one of our WSDL's some generated classes contained an invalid package name because it contained a reserved keyword. The namespace in the WSDL contain the word 'Case'. The XML elements get generated such that the package name contains `._case.`. But the WebServiceClient and the WebService get generated with `.case.` in the package name (without the underscore) which is invalid syntax.

      I have created a demonstration of the issue on GitHub: https://github.com/BobLuursema/cxf-bug

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              Luursema Bob
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: