Groups | Blog | Home
all groups > dotnet xml > april 2004 >

dotnet xml : problem with XML webservice


Derek Harmon
4/17/2004 1:09:46 PM
[quoted text, click to view]

This is a security feature. If you want to allow everybody outside of
the local machine to access the test page, you must explicitly enable
HTTP GET and POST protocols in web.config,

- - - web.config (partial)
<configuration>
<!-- . . . -->
<system.web>
<!-- . . . -->
<webServices>
<!-- . . . -->
<protocols>
<!-- . . . -->
<add name="HttpGet" />
<add name="HttpPost" />
<!-- . . . -->
</protocols>
<!-- . . . -->
</webServices>
<!-- . . . -->
</system.web>
<!-- . . . -->
</configuration>
- - -

This should not be done unless you have other security measures
(firewalls, private network, etc.) in place to prevent unauthorized
users from making HTTP requests to the machine in question.


Derek Harmon

Bobofrut
4/17/2004 1:42:37 PM
hi
I'have problem with calling XML Web Service from another computer (in my
workstation all work properly)
I using IE browser first page look ok, but when I try run a webmethod
occurs message:
"The test form is only available for requests from the local machine. "
thanks for advice
chris

AddThis Social Bookmark Button