Creating and Consuming a Web Service with Visual Studio .NET

In the previous section you created an Arithmetic Web service without using any of the Web service development features in Visual Studio .NET. In this section, I explore some of the tools available in Visual Studio .NET for Web service development. I also look at returning and accepting more complex data from the Web service.

Visual Studio .NET includes a project template for creating an XML Web service. This project template will create an asmx file for the Web service using the code-behind directive. It also creates the corresponding source file for the asmx file and creates the IIS virtual directory for the XML Web service. To create a project using this template, perform the following ...

Get .NET and COM Interoperability Handbook, The now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.