You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "fumitada hattori (JIRA)" <be...@incubator.apache.org> on 2004/10/25 21:06:44 UTC
[jira] Created: (BEEHIVE-24) DropInDeploymentHandler cannot generate WSDL if jws has two same-named methods.
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
[jira] Commented: (BEEHIVE-24) DropInDeploymentHandler cannot generate WSDL if jws has two same-named methods.
Posted by "Jonathan Colwell (JIRA)" <be...@incubator.apache.org>.
[ 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
[jira] Commented: (BEEHIVE-24) DropInDeploymentHandler cannot generate WSDL if jws has two same-named methods.
Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-24?page=comments#action_54705 ]
Michael Merz commented on BEEHIVE-24:
-------------------------------------
Need more input on this: did this happen using DOC/LITERAL, the 181 default style? In that case it can't work.
I tried it with RPC/encoded and it worked just fine.
> 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
[jira] Updated: (BEEHIVE-24) DropInDeploymentHandler cannot generate WSDL if jws has two same-named methods.
Posted by "Kenneth Tam (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-24?page=history ]
Kenneth Tam updated BEEHIVE-24:
-------------------------------
Assign To: Michael Merz
Version: TBD
Fix Version: TBD
> 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
[jira] Closed: (BEEHIVE-24) DropInDeploymentHandler cannot generate WSDL if jws has two same-named methods.
Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
[ 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