Testing Web Service(ASMX) Remotely (yes, you can!)

Often we test web services by either locally on our workstations or remoting to the server and accessing the asmx page.  If you try to access the asmx remotely however you are not given the option to test the server (by using the server url address).  By adding the following code the <system.web> section of asmx web site web.config you can now test your services remotely.

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

The above code addresses the issue related to "The test form is only available for requests from the local machine." error message.



comments powered by Disqus


Recent Tweets

Maybe resolved itself, after resetting emulator and couple vs.net restarts - will let you know
@MillerMark A few weeks ago you tweeted that something huge/incredible was coming....what is/was it? (I am hoping s… twitter.com/i/web/status/9…
Oddly, it won't hit breakpoints in XF .net standard 2 project now either
@JamesMontemagno Updated to 15.7 preview 2 Visual Studio - now having lots of odd thread issues when starting debug… twitter.com/i/web/status/9…