Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Is overloading possible in web services?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is event in asp.net?

1067


What does session_start () do?

1163


is gateway for sms continue connected for sending sms.how?

2311


What is a postback url?

933


How can we register exception filter from the action?

1111


Difference between overriding and overloading?

1358


When should I use server transfer and response redirect?

1037


What is css in asp.net?

1124


How would you create a permanent cookie?

1089


How is it possible for .NET to support many languages?

779


Explain the function of new view engine in asp.net? : asp.net mvc

1075


How can you handle errors in Web API?

1222


How does exception management works in ASP.NET?

1195


What is asp.net web application?

1096


What are the benefits of view state?

996