Wednesday 8 August 2012

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

Sometimes when you try to open your web service form a local network machine, that time you may get the below error:

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

SOAP 1.1

The following is a sample SOAP 1.1 request and response.......

SOAP 1.2

The following is a sample SOAP 1.2 request and response.........
"


This is the configuration settings problem, Open the web.config file of ASMX Service in IIS add the following config, then you can browse from your local network.

<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>

Now you can able to see the "invoke" button.

Happy Coding :)

No comments:

Post a Comment