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:57:53 UTC

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

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


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.


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

Posted by "Alessio Soldano (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2114.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.5

> 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
>             Fix For: 2.1.5
>
>         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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2114:
-----------------------------

    Fix Version/s: 2.0.11

> 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
>             Fix For: 2.0.11, 2.1.5
>
>         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.