Title: Message
Thanks for your reply. I wrote a small sample and got it working. I coded the client by hand. I have to see if wsdl2java outputs a client properly with both the methods.
 
thanks
Srinivas
 
I have attached the sample for those interested.
 
Note: Please reply to the discussion forum and not directly to me.
-----Original Message-----
From: Wang, Pengyu [IT] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 1:04 PM
To: I-Sampige, Srinivas
Subject: RE: Method overloading

Yes, it supports. Give it parameter name when you invoke the call (first array, second array is the value, if you use Call.invoke method).

Or use java2wsdl you will see it generated in wsdl. 

 It only supports overloading methods defined in the same class not the ones you inheritance from the parent class I believe.

 

-----Original Message-----

From: I-Sampige, Srinivas [mailto:[EMAIL PROTECTED]

Sent: Thursday, November 06, 2003 3:48 PM

To: [EMAIL PROTECTED]

Subject: Method overloading

 

Does SOAP support overloading? If I want to expose two methods-

1. sayHello(String firstName)

2. sayHello(String firstName, String lastName)

 

Then how do I do it in AXIS. Can somebody point me to some samples and materials where I can learn more about this aspect of web services? I haven't been able to find much information about this on the web.

Thanks

Srinivas

Attachment: overloadedSample.zip
Description: overloadedSample.zip

Reply via email to