Posted by : Jebastin Saturday 14 December 2013

Scenario: 

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

Solution: 

For enabling remote web service test page, just add HttpPost/HttpGet protocol in the webServices section of your web.config. By default, this option is disabled to increase the security in live environment, but you can enable it in web.config as follows for debugging the deployed web services.
  1. <webServices>
  2.    <protocols>
  3.       <add name="HttpGet"/>
  4.       <add name="HttpPost"/>     
  5.    </protocols>
  6. </webServices>
Please rollback these settings after testing/debugging your deployed web services on live server.

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Link To This Post/Page

Spread The Word

Add this button to your blog:
JJ Technology Solutions

Blog Archive

Trackers

eXTReMe Tracker
facebook

- Copyright © JJ Technology Solutions - Powered by Source Code Solutions -