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

Explain the code Access Security (CAS) in .net Framework?

1300


What does asax stand for?

1047


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

1065


What are the Types of objects in ASP

1143


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2528


What's the use of formatters in .net?

1091


Is it possible to apply themes to an asp.net application? If yes, then how?

1064


What are the different types of Caching techniques in ASP.NET?

1100


Describe the disadvantage of cookies.

1070


Can you explain composite pattern?

1092


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

1112


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

3136


How does windows service lifecycle differ from a .standard. Exe?

1083


To display data in a Repeater control which template you provide?

1085


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

977