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 ...
Get Special Edition Using C# 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.