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?

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 the name of the base class that all web forms will be inherited?

7 Answers  


I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?

1 Answers   FutureTech,


How do you register the .Net Component or Assembly?

2 Answers   Accenture,


What is the difference between Hash table and Array list?

0 Answers  


what is the difference between console.writeline &console.output.writeline?

2 Answers  


Features in ASP.NET?

2 Answers   Microsoft,


What is the lifespan for items stored in ViewState?

2 Answers   ISST,


How do I open an ashx file in windows 7?

0 Answers  


Difference between datagrid and datareader?

1 Answers  


What is HTTPModule and HTTPcontext? What is the use of each?

0 Answers   Accenture,


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

0 Answers  


What is the difference between a default skin and a named skin?

0 Answers   MindCracker,


Categories