cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reimer Prochnow (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-3290) wsdl2java fails to generate working client code if web service and portType have the same name
Date Tue, 01 Feb 2011 15:26:29 GMT

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

Reimer Prochnow updated CXF-3290:
---------------------------------

    Attachment: MyBugService.java
                bug2.wsdl
                bug.wsdl

> wsdl2java fails to generate working client code if web service and portType have the
same name
> ----------------------------------------------------------------------------------------------
>
>                 Key: CXF-3290
>                 URL: https://issues.apache.org/jira/browse/CXF-3290
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.3.2
>            Reporter: Reimer Prochnow
>            Priority: Minor
>         Attachments: MyBugService.java, bug.wsdl, bug2.wsdl
>
>
> A Naming Problem similar to #CXF-1979:
> if your wsdls define:
> <wsdl:service name="CallManagement" ... 
> <wsdl:portType name="CallManagement">
> wsdl2java generates
> public class CallManagement extends Service {
> but this class imports a Class CallManagement  from the namespace defined in the portType.
> this leads to a compiler error (Line is the import statement)
> "CallManagement is already defined in this compilation unit"
> so the problem is:
> package bar;
> import foo.Bar;
> public class Bar {
> can be avoided only with full qualified references to foo.Bar without the import.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message