You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bob (Jira)" <ji...@apache.org> on 2020/06/05 15:46:00 UTC

[jira] [Created] (CXF-8298) An invalid package name is generated

Bob created CXF-8298:
------------------------

             Summary: An invalid package name is generated
                 Key: CXF-8298
                 URL: https://issues.apache.org/jira/browse/CXF-8298
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.3.6
         Environment: WSL Ubuntu 18.04 on Windows 10, Java 11
            Reporter: Bob


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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)