Accessing Webservice from asp/php

some days ago I came across a problem during a project, i was trying to access Webservice from asp page that was hosted on another domain, but operation was "timed out". webservice was there you can call it you can review it, was working fine from DotNet. but when ever from asp/php it was not.

so after some research here is the remedy:


<add name="HttpGet" />
<add name="HttpPost" />

these line should be located in system.web tag of web.config.

according to Microsoft these lines are supposed to be already added to machine.config but in majority cases it is not.

  1. Leave a comment

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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

%d bloggers like this: