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

Write a code for sending an email from asp.net application.

1047


What is the concepts of globalization and localization in .net?

963


How can I open ashx file in mobile?

1161


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

1110


What is view state and how it works in asp net?

992


Why is asp.net so popular?

975


Explain how cookies work. Give an example of cookie abuse.

1121


What is the significance of ASP.NET routing?

1077


What is the difference between login controls and forms authentication?

1090


How do you use viewstate?

1006


Explain client side state management system.

990


Demonstrate Render and PreRender?

1106


Explain what the contents of cookie?

1062


What is enableviewstate in asp net?

961


Why is the standalone environment only useful during the development process?

1835