Is overloading possible in web services?

Answers were Sorted based on User's Feedback



Is overloading possible in web services?..

Answer / kinge

yes its possible

Is This Answer Correct ?    5 Yes 0 No

Is overloading possible in web services?..

Answer / neha

Yes it is possible but you have to give different alias name to the web method so that ambiguity can be avoided

---method will be call from application by the name AddInt
[WebMethod Name ="AddInt"]
public void Add(){}//implement code for adding 2 int variable

---------In this step even if you dont give name attribute it will work and method will be called by name Add.
[WebMethod Name ="AddFloat"]
public void Add(){}//implement code for adding 2 float variable

else it will give error

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Which is the parent class of the ASP.NET server control?

0 Answers   Sans Pareil IT Services,


Explain the working of passport authentication.

0 Answers  


What are the validation controls ?

1 Answers  


What is Stateless ASP or ASP.Net?

2 Answers   Accenture,


Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process

1 Answers   HCL, Siebel Systems, Visual Soft,


What is the difference between cache and cookies?

0 Answers  


what is COM Object in Dot net?

6 Answers   CTS,


Explain how to prepare culture-specific formatting in .net.

0 Answers  


How ASP and ASP.NET page works.

3 Answers  


i want the asp.net technical questions and answeres

0 Answers  


Where sessions are stored?

0 Answers  


What are the events that happen when a client requests an asp.net page from iis server?

0 Answers  


Categories