Hi,
Yes for the time being I beleive SOAP doesn't support the overloading
methods.
But can sure u that it will be available soon for I am going thru for
overcoming the prblem.
One suggestion is u can just check out the number of parameters in the soap
body and according to u can call upon the methods or else u can check out
the type and call the method.
anyhow u may have to change the api to make it compatible for overloading
methods.
It will be helpful if u make available yr coding once u implemented yr api.
Thanks,
Jeyakumaran.C
----- Original Message -----
From: "Jeffrey J Gaynor/jqhome" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 07, 2003 7:31 PM
Subject: Overloading methods in AXIS vs. SOAP standard


> Hi!
>
> I have a design question about AXIS. I know that AXIS allows for
overloaded
> methods like
>
> public String fnord(String x);
> public String[] fnord(String[] x);
>
> and will create the right calls for them using WSDL. But, when invoking
> them, it will only find the second method. As a matter of fact, here is a
> bugzilla entry for this:
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16519
>
> Now the question is this. The SOAP standard doesn't seem to allow this, as
> a colleague of mine found the following quote on the O'Reilly site:
>
> --------------
> "Web services don't allow method overloading. This is a limitation in
> the SOAP  standard. It means you can't differentiate methods by their
> arguments alone.  Instead, you'll need to create separately named
> methods like GetCustomerByID() and GetCustomerByName()"
>
> http://www.ondotnet.com/pub/a/dotnet/2002/09/03/webservices.html
> --------------
>
> So here is the questions:
>
> 1. Is this overloading an AXIS-specific enhancement?
>
> 2. If so, it does not work in 1.1, but will it later?
>
> If 1. is the case, *please* give a source if possible, cause we're going
to
> have to re-write an API if not...
>
> Thanks!
>
> Jeff
>
>
>

Reply via email to