Although the Web Service you create in this section is really simple, it shows off many of the issues you'll face when creating any Web Service, and its simplicity makes it a good example to get you started.
Follow these steps to create your first XML Web Service:
In Visual Studio .NET, create a new project. Select ASP.NET Web Service from the list of project templates.
Set the location of your service to http://localhost/Jumpstart/MathService. Click OK to create the project.
By default, the Web Service project template creates a component named Service1.asmx. Find this component in the Solution Explorer window and rename it to Adding.asmx.
If you double-click Adding.asmx to display it in the ...