Creating a Web Service Client

Now that you have created and tested the Web service, it is time to create a client that can access it. The client can be almost any kind of application, including a Windows application, Web application, or Web service. For this example, you'll create an ASP.NET Web Application project to test the service.

Create a new ASP.NET Web Application in Visual Studio .NET and name it ConversionClient. Make sure that you have it set to close the existing solution because you do not want this project to be added to the Web service solution.

You will wind up with a blank designer. Add the following Web Forms controls to the designer: four labels, one text box, two drop-down list boxes, and one button. Lay them out so that they ...

Get A Programmer's Introduction to Visual Basic® .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.