You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/04/09 06:16:16 UTC
[jira] [Commented] (CXF-4850) Inheritance problem : An operation
with name {} already exists
[ https://issues.apache.org/jira/browse/CXF-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626197#comment-13626197 ]
Freeman Fang commented on CXF-4850:
-----------------------------------
@lord,
Your testcase confused me, I can't figured out what's the Interface A and Interface B you described before in your testcase
@Dan,
Just commit a change[1] which I believe will expose the problem and this problem could be introduced by the changes of CXF-4713. This change intend to break the JavaToProcessorTest.testInherit() because two overloaded method hello in org.apache.cxf.tools.fortest.inherit.C, though only one have WebMethod annotation in org.apache.cxf.tools.fortest.inherit.B
However I check the JAXWS spec about the interface inherit and I don't think this is a bug in CXF, this is an issue that org.apache.cxf.tools.fortest.inherit.C shouldn't have methods with same name.
If this isn't a bug in CXF we need revert the test change I made here.
[1]http://svn.apache.org/r1465874
Freeman
> Inheritance problem : An operation with name {} already exists
> ---------------------------------------------------------------
>
> Key: CXF-4850
> URL: https://issues.apache.org/jira/browse/CXF-4850
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.7.2, 2.7.3
> Reporter: lord
> Fix For: NeedMoreInfo
>
> Attachments: cxf-test.zip
>
>
> We have got a @WebService Interface A wich extends an Interface B. Only methods from Interface A are @WebMethod. Interface B contains methods with the same name but are not @WebMethod.
> We receive a "An operation with name already exists".
> Everything was working fine from 2.x to 2.7.1. Something has changed...
--
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