Enable GET, POST and Discovery Web page in ASMX Web Services
By Peter Bromberg
HTTP GET and POST are disabled by default in ASMX Web services. This shows how to enable them.
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add
name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<!--
Documentation enables the documentation/test pages -->
<add name="Documentation"/>
</protocols>
The above web.config entry enables SOAP, POST, GET, Localhost POST, and the "Documentation"
(Discovery web page) to remote callers.
Enable GET, POST and Discovery Web page in ASMX Web Services (2105 Views)