Extreme CRM

Ever need to debug a web service from the production server rather than Visual Studio?

January 8, 2010 · Leave a Comment

Ever need to debug a web service from the production server rather than Visual Studio?  Well it’s a pain to do so because for security reasons Microsoft disables the parameter inputs and replaces it with this message.

Test

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

The solution for this is simple, add the following tags to the   <system.web> section of the web.config.

        <webServices>

          <protocols>

            <add name=”HttpGet”/>

            <add name=”HttpPost”/>

          </protocols>

        </webServices>

Now when you load the asmx page it will allow you to enter the required parameters to run your web service.

Categories: Customization · Web development
Tagged: , ,

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment