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...


How do you consume a web service ?



How do you consume a web service ?..

Answer / pravesh

Web service Discovery mechanism enables client to locate
and discover web service on the net. Web service discovery
mechanism provides a discovery document , this discovery
document is written in WSDL and provides all the
information about web service, e.g.
1. its location
2. What methode is provides.
etc..
Following are the steps to consume a web service:-

1.Add web reference to project.
Enter url of the web service to locate the web service and
its methods.

2.Add reference to namespace of web service on the page (eg
using MyWebService)

3. Create an instance of web service class (e.g.
MywebServiceClass obj1= new MywebServiceClass();

4. call the required method (eg. int x= obj1.GetAge();)

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More IIS Interview Questions

How do I change iis settings?

0 Answers  


How do I get to iis?

0 Answers  


Why do you need iis?

0 Answers  


How do I start iis from command prompt?

0 Answers  


How do I open iis manager in windows 7?

0 Answers  


How do you generate a csr?

0 Answers  


What is the usage of iis?

0 Answers  


How do I publish my website on iis?

0 Answers  


How many authentications are done on IIS? Port numbers for HTTP? How do you take backups of IIS Servers...IBM Questions.

4 Answers   IBM,


How do I disable iis express?

0 Answers  


How do I turn off iis?

0 Answers  


How a proxy is generated for a web service ?

2 Answers   CTS, TCS,


Categories