axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1343) WSDL generation misbehaviour
Date Mon, 16 Oct 2006 05:26:37 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1343?page=all ]

Davanum Srinivas updated AXIS2-1343:
------------------------------------

    Priority: Blocker  (was: Major)

> 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
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>         Attachments: axis2Testathon.wsdl, services.xml
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message