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 |
How do I open iis manager from command line?
How do I run iisreset as administrator?
How do I install a certificate?
What does iisreset noforce do?
How to retrive IUSR account password ?
What are the different IIS authentication modes in IIS 5.0 and Explain?
How do you create Virtual Root in IIS?
What is the usage of iis?
In My Office when we are trying to reach internet its working but when we are trying to reach intranet we are getting slow response? Please suggest me how to resolve it ?
What is event trace sessions?
What is iis manager?
Is iis more secure than apache?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)