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 symbol specifies the beginning of a query string?

537


How to you can limit Access to Web API to Specific HTTP Verb?

672


Explain the difference between the web config and machine config.

631


Explain the use of dataadapter.

583


What are custom user controls in asp.net?

525






What are the different method of navigation in asp.net?

571


Is asp.net 64-bit enabled? How?

595


What is Web API?

649


Is it possible to change the index of primary key on table?

412


What is IPostBack? How to use it?

604


What is a session http?

525


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

519


What is cache in asp net?

538


What is the difference between ASP Session State and ASP.Net Session State?

589


Explain exception filters?

593