Attaching the WebMethod attribute to a Public method indicates that you want the method exposed as part of the XML Web service. It tells .NET that a particular public method should be exposed as a web-callable method. It has six associated properties to document and change the behavior of your web method.
1. Description
2. MessageName
3. EnableSession
4. CacheDuration
5. TransactionOption
6. BufferResponse