[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2321) Overloaded methods not supported in auto-generated WSDLs
Richard Opalka (JIRA)
jira-events at lists.jboss.org
Fri Nov 28 11:24:38 EST 2008
[ https://jira.jboss.org/jira/browse/JBWS-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440381#action_12440381 ]
Richard Opalka commented on JBWS-2321:
--------------------------------------
Solution exists:
Users have to use javax.jws. at WebMethod(operationName) for each overloaded method to define separate unique wsdl:operations
> Overloaded methods not supported in auto-generated WSDLs
> --------------------------------------------------------
>
> Key: JBWS-2321
> URL: https://jira.jboss.org/jira/browse/JBWS-2321
> Project: JBoss Web Services
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Affects Versions: jbossws-2.0.0
> Environment: JBoss Enterprise Platform version 4.3.0.GA_CP01 running on Linux
> Reporter: Burak Serdar
> Assignee: Richard Opalka
> Priority: Minor
>
> This is tested on JBoss Enterprise Platform version 4.3.0.GA_CP01.
> Stateless EJB has overloaded methods, and web service annotations for auto-WSDL generation. Auto-WSDL generation fails complaining about duplicate operation names.
> Example:
> @Remote
> public interface TestService {
> public void test();
> public void test(int a);
> }
> @Stateless
> @Remote(TestService.class)
> @WebService(name="TestService")
> public class TestServiceBean implements TestService {
> @WebMethod
> public void test() {}
> @WebMethod
> public void test(@WebParam(name="a") int a) {}
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list