cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-2901) CXF assumes overloaded operation on multiple interface extension.
Date Wed, 05 Dec 2012 19:05:58 GMT

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

Daniel Kulp resolved CXF-2901.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
         Assignee: Daniel Kulp


This seems to have been fixed a long time ago.  Not exactly sure when, but it's now working.

                
> CXF assumes overloaded operation on multiple interface extension.
> -----------------------------------------------------------------
>
>                 Key: CXF-2901
>                 URL: https://issues.apache.org/jira/browse/CXF-2901
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.2.9
>         Environment: Windows Vista, jdk1.6.0_14
>            Reporter: David Wettig
>            Assignee: Daniel Kulp
>             Fix For: 2.7.0
>
>
> If a service extends two interfaces which both extend (directly or indirectly) another
 (but exactly the same) interface containing a method signature, CXF throws the "An operation
with name [...] already exists in this service" Exception.
> CXF assumes that there are two different overloading methods, but it's the same method
with the same signature.
> Example:
> public interface A extends B1, B2
> public interface B1 extends C
> public interface B2 extends C
> public interface C
> {
>   public String test();
> }
> This results in "An operation with name [{http://foo.bar/}test] already exists in this
service"
> It would be great if CXF could handle such a case, maybe by just accepting identical
signature methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message