[ http://issues.apache.org/jira/browse/BEEHIVE-24?page=history ]
Michael Merz closed BEEHIVE-24:
-------------------------------
Resolution: Fixed
The last line of the comment actually suggests that method overloading was
tried w/ DOC/LITERAL, which can't work.
> DropInDeploymentHandler cannot generate WSDL if jws has two same-named
> methods.
> -------------------------------------------------------------------------------
>
> Key: BEEHIVE-24
> URL: http://issues.apache.org/jira/browse/BEEHIVE-24
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: TBD
> Reporter: fumitada hattori
> Assignee: Michael Merz
> Fix For: TBD
>
> If a jws file has two same-named methods like below and deployed by
> DropInDeploymentHandler, Axis will throw an
> java.lang.reflect.InvocationTargetException when I see its WSDL (by browser)
> @WebMethod
> public int getName(){...}
> @WebMethod
> public int getName(int a){...}
> The log says "Caused by: Attempted to write duplicate schema element :
> {http://www.beehive.com/AddressBook}getName"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira