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

An invalid package name is generated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.6
    • 3.2.14, 3.3.7, 3.4.0
    • None
    • None
    • WSL Ubuntu 18.04 on Windows 10, Java 11

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: