Copyright © 2008-2019 Paula DiTallo

Tag Cloud

Why can't I test my web service anymore?

If you are getting the message: The test form is only available for requests from the local machine it is because you are probably testing the web service from the remote box you just migrated the web service to!

The quick solution to that is to follow the advice of Juan Ignacio Gelos...

...and do the following:

1. Edit the web.config file for your web service application. Add or Edit:


            <add name="HttpGet"/>
            <add name="HttpPost"/>

So, the next question you may have is Why does the web.config file that automatically gets generated when building a new web service default to exclude the web service protocols HttpGet/HttpPost?  In a nutshell, Microsoft decided that for security reasons, it would be more practical to disable the feature.  For more details please visit MS:

Friday, January 25, 2008 11:09 AM


No comments posted yet.

Post A Comment