Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Axis Service Archiver - Overloaded Methods?
Axis Service Archiver - Overloaded Methods? [message #212155] Tue, 08 April 2008 15:33 Go to next message
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 Go to previous message
Lahiru Sandakith is currently offline Lahiru Sandakith
Messages: 6
Registered: July 2009
Junior Member
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
Previous Topic:Cursor Movement in WebEditor
Next Topic:Are you using GlassFish v2.0ur1?
Goto Forum:
  


Current Time: Fri Aug 22 13:44:56 EDT 2014

Powered by FUDForum. Page generated in 0.05350 seconds