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