This webservice will add two numbers and give to the calling client.All the below steps
are according to VS2005 beta editor :-
1.First create a website by clicking on File -- New WebSite.
2.From “Visual Studio Installed Templates” click on “Asp.NET Web Service”.See figure below.Name the figure as “Maths Web Service”.
After the webservice is done click on add Webreference.Normally for components we do a “Add Reference” and for Webservices we do “Add Web Reference”.
Your editor has located the “Maths” webservice.Select the webservice.