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

what is asp and asp.net ?

2 Answers   Inspira Technologies,


Can you nest updatepanel within each other?

0 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


Explain the differences between managed and unmanaged code?

0 Answers  


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

0 Answers   Siebel,






What is directive in asp net?

0 Answers  


Which class is used to send an email message from an ASP.NET Web page?

0 Answers   Sans Pareil IT Services,


What is custom events?

0 Answers  


What is JIT and how is works ?

1 Answers   Patni,


what is the cursor

1 Answers   Wipro,


What is razor? : asp.net mvc

0 Answers  


In a webpage if i want to give access to only half page ,then what should i do?

3 Answers  


Categories