O'Reilly logo

Special Edition Using C# by NIIT

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Simple Web Service

The .NET framework provides the tools required to create Web services. In the following example, a Web service is created using ASP.NET, which is part of the .NET framework.

ASP.NET is the preferred technology for creating and invoking Web services for a number of reasons:

  • It supports the use of the SOAP protocol and can be used to send and receive requests using the <HTTP GET> and <HTTP POST> tags.

  • It automatically creates the WSDL files required for the Web service.

  • It can create the Discovery file that contains a list of all the Web services available for a given URL.

  • It automatically generates the code to perform routine transactions, such as sending and receiving SOAP messages, and data encryption using XML in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required