16th
December
2008
ASP.NET Web Service Test Form
posted in Developers, Software, Technology |ASP.net has this great feature when you are creating web services that it will create a nice HTML form that you can use to test your web-service without constructing a SOAP client. The catch is that by default it only runs for requests from the local machine and I always forget how to turn it on for remote requests.
Here is the trick- add this to your web.config inside the system.web section-
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>