How to change a look of the web service test page in ASP.NET

In the article How to test a web service in ASP.NET, the test page used, is rendered by ASP.NET on the fly using the web page c:\[WinDir]\Microsoft.NET\Framework\[Version]\Config\DefaultWsdlHelpGenerator.aspx . Sometimes, you need to modify the behavior or appearance of this page. In this case, you should copy the DefaultWsdlHelpGenerator.aspx file to your web application directory, change it, and then modify the web.config file for the application to point to the new rendering page by adding the <wsdlHelpGenerator> element, as shown:

<configuration>

<system.web>

<webServices>

<wsdlHelpGenerator href=”MyWsdlHelpGenerator.aspx”/>

</webServices>

<!– Other settings omitted. –>

</system.web>

</configuration>

This technique is most commonly used to change the look of the test page. For example, you might use this technique to substitute a version of the page that has a logo or copyright notice.