You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/08/30 19:11:37 UTC

[jira] [Resolved] (CXF-3669) Duplicate WSDL items when @WebMethod operationName is similar to actual name

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

Daniel Kulp resolved CXF-3669.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: NeedMoreInfo)
                   Invalid


Could not reproduce and request for testcase unanswered for more than a month.  

> Duplicate WSDL items when @WebMethod operationName is similar to actual name
> ----------------------------------------------------------------------------
>
>                 Key: CXF-3669
>                 URL: https://issues.apache.org/jira/browse/CXF-3669
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.4.1
>            Reporter: James Poole
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>
> For my web service API I have a method name starting with lowercase, but I specify the operationName as starting with uppercase.  When the wsdl is generated, it shows elements for both the lowercase and uppercase versions.  Having both versions will cause wsdl2java to fail if it is run against this wsdl.
> I have found that if I change the operationName to something totally different, this issue is not seen, so it looks like just different capitalization causes the problem.
> Here is the example:
> @WebMethod (operationName="MyFooMethod")
> void myFooMethod(int bar);
> In the generated WSDL, you will see "MyFooMethod" and "myFooMethod" as xs:element tags.

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