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

What is the meaning of TestApi?

625


Should I delete cookies?

491


Explain in what order a destructors is called.

575


What are the difference between function and stored procedure in .net programming language?

251


Define tracing.

622






What is asp net objects?

517


What is session mode in asp.net?

517


How to manage different kinds of sessions in ASP.NET?

559


To get the values in two different controls to match which control you use it?

524


Can we create a multiple user simultaneously ?

580


Which is better viewstate or session?

513


How does a web application session work?

554


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2238


Explain what the contents of cookie?

588


What are web server controls in asp.net?

548