WSDL generation misbehaviour
----------------------------
Key: AXIS2-1343
URL: http://issues.apache.org/jira/browse/AXIS2-1343
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: core
Affects Versions: 1.1
Reporter: Ruwan Linton
I have writen a service class with overloaded methods and tried to expose only
one method with RPCMessageReceiver. The service class methods are as folllows;
public String sayHello() {
return "Hello";
}
public String sayHello(String name) {
return "Hello " + name;
}
and then created the service archive with the following service.xml file,
<service>
<description>
Test service to test the RPCMessageReciever
</description>
<parameter
name="ServiceClass">org.apache.axis2.messageReciever.test.service.Axis2Testathon</parameter>
<operation name="sayHello">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
<actionMapping>urn:sayHello</actionMapping>
</operation>
</service>
When I deployed this service in the Axis2-1.1-RC1 it got deployed successfully.
But the generated WSDL was wrong. I will attach the WSDL. I think Axis2 doesn't
support method overloading in the service class... But in that case it should
give an error other than deploying and generating a wrong wsdl.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]