[ 
http://issues.apache.org/jira/browse/BEEHIVE-24?page=comments#action_54633 ]
     
Jonathan Colwell commented on BEEHIVE-24:
-----------------------------------------

This error makes sense if the web service was Doc/Literal Wrapped which is the 
default in JSR-181.  Try changing the SOAP Binding to RPC and see if it permits 
the method overloading.

> 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)
>     Reporter: fumitada hattori

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

Reply via email to