It seems to work, at least my application still works. After adding this tag
to hide the documentation; is it normal to see an error message when browsing
to the page? I get error message shown below when going to that page in
Internet
Explorer on the same machine as the service. If I understand correctly; to
correct this error I simply need to have the following in web.config:
<webServices>
<protocols>
<remove name="Documentation" />
</protocols>
<wsdlHelpGeneratorhref="helpPage.aspx"/>
</webServices>
Thus it seems like, in this example, all I need to do is have a web page
named helpPage.aspx. Is this true? Could the wsdlHelpGeneratorhref be a
simple .htm page?
Here is the error I referred to above:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Request format is unrecognized.]
System.Web.Services.Protocols.WebServiceHandlerFac tory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +491033
System.Web.Services.Protocols.WebServiceHandlerFac tory.GetHandler(HttpContext
context, String verb, String url, String filePath) +104
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
+175
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42
Thank you.
--
Thank you.