Is overloading possible in web services?

Answer Posted / sridevi

yes, We can overload webmethods in a webservice.

There is the MessageName property of a WebMethod attribute!
The MessageName property enables the XML Web Service to
uniquely identify overloaded methods using an alias. The
default value of this property is the method name, but you
can change it to distinguish this overloaded method
implementation from others. When specifying the method
name, the resulting SOAP messages will reflect this name
instead of an actual method name.

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need master page in asp.net?

706


Give 2 examples for scenarios when routing is not applied?

785


What are the differences between primary foreign and unique keys?

749


How do we access view state value of this page in the next page?

826


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1626


Explain the difference between response.redirect vs server.transfer

845


How can we identify that the page is post back in asp net?

675


Define static constructor?

732


What does session_start () do?

817


What is application state?

680


What is the file extension of web service?

735


witch is the best insistute in sharpoint course.what abt future of share point course.

2952


What is the difference between cookie and session?

695


What events will occur when a page is loaded?

804


What is the meaning of TestApi?

826