Click to See Complete Forum and Search --> : Web Service Question


softweng
May 30th, 2003, 03:51 PM
I created my first web service and accessing it from IE on the local machine works great. But when I try to access from another computer on the network I can see the definitions but cannot execute any of the functions? It says they are only avaiable to the local machine. How do I make it available for any machine?

softweng
June 2nd, 2003, 11:38 AM
Here Is The Answer:

Your problem lies in your machine.config file which will most likely
be in the following directory:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG
The problem is that .NET 1.1 ships with HttpPost and HttpGet turned
off. look for the following tags:
<webServices>
<protocols>
<add name="HttpSoap1.2"/>
<add name="HttpSoap"/>
<!-- <add name="HttpPost"/> -->
<!-- <add name="HttpGet"/> -->
<add name="HttpPostLocalhost"/>
<add name="Documentation"/>
</protocols>
</webServices>

You will notice that HttpPost and HttpGet are commented out. Uncomment
them and it should fix your problem.

Thanks,
Kenton Smeltzer