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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
 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 ?    1 Yes 0 No
Pravesh
 

 
 
 
Other IIS Interview Questions
 
  Question Asked @ Answers
 
What happens when a reference to web service is added ? Digital-GlobalSoft2
IIS WEB GARDENS?  1
IIS services ? TCS1
How many users supported by IIS at a Time  1
How can we retrive our data after if we format the harddisk?  1
IIS Isolation modes  3
What are webservices, its attributes. Where they are available ? TCS3
IIS SSL ?  1
Connectivity of SQL 2000 + Vb. Using ODBC.  1
Where are the IIS log files stored?  2
How a web service is exposed to outside world ? TCS1
IIS Host headers  1
Advantages in IIS 6.0?  2
IIS metabase ?  1
IIS Application pool ?  1
how many web.config files are there in 1 project.we can overwrite the web.config files PCS13
What are different authentication types. How do you retreive user id in case of windows authentication. Microsoft3
In which process does IIS runs ?  2
Types of authentications in IIS? Microsoft2
IIS user accounts?  1
 
For more IIS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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