Note :- For this question this post will make a attempt by creating a simple webservice and explaining steps to acheive it. A simple webservice will be created which takes two number and gives addition result of the two number. Definitely the interviewer will not expect such a detail answer but this book will explain you in detail so that you are on right track during interview.
This webservice will add two numbers and give to the calling client. All the below steps are according to VS2008 beta editor :-
- First create a website by clicking on File -- New WebSite.