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

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

     [ https://issues.apache.org/jira/browse/CXF-8298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated CXF-8298:
-------------------------------------
    Fix Version/s: 3.3.7
                   3.2.14
                   3.4.0

> 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
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 3.4.0, 3.2.14, 3.3.7
>
>
> 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)