My web service has overloaded methods like:

MyObject test1(String s1, String s2, MyObject obj);

MyObject[] test1(String s1, String s2, MyObject[]
obj);

But Axis 1.1 Beta seems to get confused on which
method to invoke on my web service.  If my client
(running Apache SOAP) makes a call to the first
method, the second method actually gets invoked.

I see in my Axis logs that it converted the single
instance of MyObject to an array of MyObject objects,
containing one object, before invoking test1().

If I randomly shuffle the order of the methods in my
Java source file for my web service, the proper method
gets inovked, depending on the order that the methods
appear.  I assume that this is a result of Axis' use
of reflection.

Is there something wrong with the way Axis handles
overloaded methods?  Or could I do something to
configure it?  I've tried specifying operations and
parameters in my wsdd file, but so far it hasn't
helped.

Thanks,

Tim


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to