Instantiating and Invoking Web Services

After you have discovered a Web service and retrieved information about its interface, you can instantiate an object that represents that Web service and then invoke its methods. In this section you'll learn about two methods for integrating Web services into your applications, and you'll learn about testing a Web service, as a consumer.

Creating Proxy Classes with the Web Services Description Language Tool (wsdl.exe)

The .NET Framework SDK includes the Web Services Description Language tool, wsdl.exe. This tool can take a WSDL file and generate a corresponding proxy class that you can use to invoke the Web service. Step by Step 7.5 shows you how.

STEP BY STEP

7.5 Using the Web Services Description Language ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.