SOAPy stuff – WebService Test

WebService test form from remote machine

In .NET version 1.1 youcant do a remote  test for remote sessions for obvious security reasons. It still works on localhost, but from remote machine you only get

<webServices>
  <protocols>
    <add name=”HttpPost” />
    <add name=”HttpGet” />
  </protocols>
</webServices>

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

message.

You can change that behaviour if you add following code to the  <system.web> section of web.config

<webServices>
  <protocols>
    <remove name="HttpPost" />
    <remove name="HttpGet" />
  </protocols>
</webServices> 

You can similarly turn off remote testing in .NET framework 1.0 because its always on.

Advertisements

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 )

Google+ photo

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

Connecting to %s