[ https://issues.apache.org/jira/browse/CXF-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067913#comment-13067913 ]
James Poole commented on CXF-3669: ---------------------------------- Also, I forgot to mention that this issue was not seen with version 2.2.3. It was only seen after I upgraded to 2.4.0. > 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 > Reporter: James Poole > > 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