You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Arpit Gupta <ar...@techblue.co.uk> on 2011/06/23 10:28:32 UTC

Regarding method overloading

HI all,

I am using axis2 with EJB having following setup.

Service Interface----
  testUser(String args0,String args1).

SessionBean---
method 1-----testUser(String args0,String args1)
method 2-----testUser(String args0,String args1,String args3)

Now, My problem is i am calling the service with 2 parameters and 
instead of calling method 1, server is calling method 2.
I read somewhere that Axis2 does not support method overloading, But i 
think this is not the method overloading case because the service 
interface have only one method and so is wsdl file. So I want to know 
why this problem is coming. also the problem is not coming for all, i 
mean locally i can test the service correctly but when i deploy it on 
another server the problem came. though for other methods(which are not 
overloaded in session bean) service is working fine on both servers. so 
is this some kind of deployment issue?

Thanks,
Arpit

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org