Accessing .NET Web Service Test Forms from a Remote Machine

Testing .NET Web services remotely is disabled by default. This means that if you navigate to a Web service and select a method, you will not get the HTML form for testing the method unless this has been enabled as described in this article. The trick is to add the following section to Web.config:

<system.web>
<!--
The following enables access to the test forms
from a remote machine.
-
->
<webServices>
<protocols>
<add name=
HttpGet″/>
<add name=
HttpPost/>
</protocols>
</webServices>
..
.
</system.web>

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: