Running web service test forms on remote web servers in ASP.net

ASP.NET’s default mode does not allow you to access web service test form from remote/Client machines. Loading your ASMX page from a remote machine will show the following text under the Test section:

“The test form is only available for requests from the local machine“.

I was able to get around this by placing the following in the Web.Config under the System.Web section:

<webServices>

  <protocols>
<add name=”HttpPost” />
<add name=”HttpGet” />
</protocols>
</webServices>

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>