-----Original Message-----
From: I-Sampige, Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 6:28 PM
To: [EMAIL PROTECTED]
Subject: RE: Method overloadingThanks 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.thanksSrinivasI 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 overloadingYes, 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
Title: Message
Srinivas,
The
reason I replied you directly rather than the list is precisely the reason other
people on the list are saying. It is not a great idea of doing so even current
Axis supports it, so reply to the list meaning advocate bad practice could lead
to the confusion in the future for a much wider audience.
So I
only answer your question how to do it rather than give your design suggestion
since I believe you definitely can draw a wise conclusion yourself.
- Re: Method overloading Tom Oinn
- Re: Method overloading Tom Oinn
- Re: Method overloading Ingrid Falk
- Re: Method overloading Tom Oinn
- Re: Method overloading Ingrid Falk
- Re: Method overloading Tom Oinn
- RE: Method overloading I-Sampige, Srinivas
- RE: Method overloading I-Sampige, Srinivas
- RE: Method overloading Srinath Perera
- Re: Method overloading Tom Oinn
- Wang, Pengyu [IT]