Accessing a Web Service
There are two primary steps when working with Web services: creating a Web service and accessing a Web service. We discussed how to create a Web service and test it in the IE test page. Let us now explore how to develop a Windows Form client. In consuming a Web service, the client application has to locate, reference, and invoke the functionality in a Web service. A Web service client can be any type of .NET application, such as a Web or Windows application. Let's create a simple Windows Form client for the Concatenate Web service. The fundamental steps in consuming Web services are as follows:
- Locate the Web service by using the Add Web Reference dialog box (if you are using Visual Studio .NET).
- Generate a proxy class ...
Get .NET Security and Cryptography 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.