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

Explain about asp.net state management?

0 Answers  


What is the difference between localization and globalization?

0 Answers  


What r all the controls in ASP.NET ?

3 Answers  


How to use DevExpress controls

1 Answers  


explain about Back ground process control in .net

1 Answers   Digital Mesh, Infronics,






What are the Difference between asp.net and asp ?

0 Answers  


What is slidemaster?

0 Answers  


How does cookies work in asp net?

0 Answers  


What is difference between cookies and cache?

0 Answers  


Can we use http handlers to upload a file in asp.net?

2 Answers  


How can you use a custom controls in ASP.NET application?

0 Answers   Sans Pareil IT Services,


Explain login control and form authentication.

0 Answers  


Categories