cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CXF-4128) Code Gen plugin fails silently when generated classes have name collisions
Date Fri, 06 Apr 2012 05:52:34 GMT


Freeman Fang resolved CXF-4128.

       Resolution: Fixed
    Fix Version/s: 2.6

commit fix for trunk for 2.5.x branch for 2.4.x branch for 2.3.x branch
> Code Gen plugin fails silently when generated classes have name collisions
> --------------------------------------------------------------------------
>                 Key: CXF-4128
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.5.2
>         Environment: Windows / Mac (Case insensitive)
>            Reporter: Bryan Stopp
>            Assignee: Freeman Fang
>             Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6
>         Attachments: pom.xml, recipeservice.wsdl
> When executing a wsdl2java call using a WSDL which has a Port Type with the same name
as a Message element, the classes for the Message or Clients are not created correctly. 
> This only happens when the PortType name contains underscores and different case, a direct
name match allows discovery of collisions and appropriate name overriding.
> The pom & wsdl test cases are attached. When asked on the users mailing list, this
was the result of a command executed:
> wsimport -keep recipeservice.wsdl
> Generating code...
> [ERROR] Could not generate SEI, class: already exists.
Rename wsdl:portType "{}CREATE_RECIPE" using JAX-WS customization
>   line 35 of file:/C:/testservice/src/main/resources/recipeservice.wsdl

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message