Axis Service Archiver - Overloaded Methods? [message #212155] |
Tue, 08 April 2008 15:33  |
Eclipse User |
|
|
|
Originally posted by: slatteryd002.hawaii.rr.com
I have a web service class with an overloaded method. When I create the
aar file, the Apache Axis Service Archiver plugin shows both methods with
the correct number of arguments and return type.
When the service is uploaded (via axis admin web page), only the first
occurrence of the method is exported in the wsdl file.
Are overloaded methods supported in web services, or could there be a bug
somewhere?
I can work around the problem by only implementing one version of the
overloaded method, but it would be good to know for future reference.
Aloha,
Doug
-- Nothing is impossible if I'mPossible
|
|
|
Re: Axis Service Archiver - Overloaded Methods? [message #212408 is a reply to message #212155] |
Wed, 16 April 2008 00:45  |
Eclipse User |
|
|
|
Doug Slattery wrote:
> I have a web service class with an overloaded method. When I create the
> aar file, the Apache Axis Service Archiver plugin shows both methods
> with the correct number of arguments and return type.
>
> When the service is uploaded (via axis admin web page), only the first
> occurrence of the method is exported in the wsdl file.
>
> Are overloaded methods supported in web services, or could there be a
> bug somewhere?
>
> I can work around the problem by only implementing one version of the
> overloaded method, but it would be good to know for future reference.
>
> Aloha,
> Doug
>
> -- Nothing is impossible if I'mPossible
>
Hi Doug,
Its how axis2 works, Please look at this thread for more details on what
was the reason behind the decision
http://marc.info/?l=axis-user&m=117026404502463&w=2
Thanks
Lahiru Sandakith
|
|
|
Powered by
FUDForum. Page generated in 0.10433 seconds