ASP.NET autogenerates the WSDL for you. How do you turn this feature off and
configure IIS to use a custom WSDL that you have created?
Hi Alex,
You can specify a custom page to be shown when the service's WSDL is
requested by using this in the web.config file (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/g
ngrfwsdlhelpgenerator.asp):
<webServices>
<wsdlHelpGenerator href="Doc\mycustomwsdl.aspx"/>
</webServices>
I tested it with the ASP.NET Development Server in Beta 2 and I could only
get it to work if the href was to a file in a subdirectory off the main
site. Similar problems are reported here in previous versions -
http://www.codinghorror.com/blog/archives/000258.html
Cheers,
Benjamin Mitchell
Independent Consultant
Microsoft Regional Director - UK
MVP - ASP.NET
blog: http://benjaminm.net
> ASP.NET autogenerates the WSDL for you. How do you turn this feature off
> and
> configure IIS to use a custom WSDL that you have created?