wsdlHelpGenerator makes it very easy to write our Own Help page for the ASP.NET Web service application. Sometimes you might not like the autogenerated Help page and want to add your own company logo and put your own descriptive help page. The following piece of tweak of your web.config will do the trick.
<configuration>
<system.web>
<webServices>
<wsdlHelpGenerator href="docs/HelpPage.aspx"/>
</webServices>
</system.web>
</configuration>
If you want to use Attributes to give some description to your WebService and WebMethods,
You can do this:
[WebService(Description = "Your Web service desctiption!!")]
public class HelloWorldService : System.Web.Services.WebService
{
[WebMethod(Description="Your Method description!!") ]
public string HelloWorld()
{
return "Hello World";
}
}
Again sometimes you might not want to expose any documentation at all,
the following piece of tweak of your web.config again will do the trick.
<webServices>
<protocols>
<remove name="Documentation"/>
</protocols>
</webServices>