cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Poole (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3669) Duplicate WSDL items when @WebMethod operationName is similar to actual name
Date Wed, 20 Jul 2011 19:08:59 GMT

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

James Poole updated CXF-3669:
-----------------------------

    Affects Version/s: 2.4.1

Added affects version "2.4.1". I just verified I am seeing this issue with the latest release
2.4.1.

> 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
>
> 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

        

Mime
View raw message