ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  IIS
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you consume a web service ?
 Question Submitted By :: M Athur
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you consume a web service ?
Answer
# 1
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 ?    3 Yes 0 No
Pravesh
 

 
 
 
Other IIS Interview Questions
 
  Question Asked @ Answers
 
Where are the IIS log files stored?  2
IIS Isolation modes  3
Advantages in IIS 6.0?  2
Types of authentications in IIS? Microsoft2
In which process does IIS runs ?  2
How a proxy is generated for a web service ? TCS2
How to configure the sites in Web server (IIS)? Microsoft3
Types of authentications in IIS? Microsoft3
What is App Pool and App Domain? What is the difference between the two. 247Customer2
What happens when a reference to web service is added ? Digital-GlobalSoft2
Connectivity of SQL 2000 + Vb. Using ODBC.  1
how many web.config files are there in 1 project.we can overwrite the web.config files PCS15
How do you remotely administer MS IIS? Microsoft3
What are webservices, its attributes. Where they are available ? TCS3
How to install our WebApplication In Web Server Honeywell3
IIS services ? TCS2
How many users supported by IIS at a Time TCS3
IIS user accounts?  2
IIS backup/restore?  1
IIS metabase ?  1
 
For more IIS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com