You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2009/03/13 19:59:53 UTC

[jira] Updated: (CXF-2114) java2ws generates invalid import statement when using member classes

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

Alessio Soldano updated CXF-2114:
---------------------------------

    Attachment: CXF-2114.txt

Attaching patch that solved this locally. Source distro testsuite passed at 100%. Please evaluate its inclusion.

> java2ws generates invalid import statement when using member classes
> --------------------------------------------------------------------
>
>                 Key: CXF-2114
>                 URL: https://issues.apache.org/jira/browse/CXF-2114
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.1.4
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>         Attachments: CXF-2114.txt
>
>
> This is related to https://jira.jboss.org/jira/browse/JBWS-2506 .
> When doing java->wsdl using tools, we get wrong import lines when member classes are referenced in the endpoint implementation. That's because the imported type name is directly used in the velocity template and it contains "$" for member classes.
> For instance, if the @XmlJavaTypeAdapter annotation is used (it has a DEFAULT static member class), we get this import statement:
> javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.