Badmate
Badmate

Reputation:

Unable to access WebService

I have a webservice @ http://recpushdata.cyndigo.com/Jobs.asmx but I'm not able to access it though I am adding it as a WebReference properly.

Any Help would be great.

Upvotes: 1

Views: 526

Answers (2)

dan richardson
dan richardson

Reputation: 3939

Do you mean you are getting the "The test form is only available for requests from the local machine." error when accessing a method? If so, you need to add the following into your <system.web> part of your web.config

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

This enables you to access the method from the local machine

Upvotes: 1

Vin
Vin

Reputation: 6145

AFAI can see, the asmx page has server errors, so you will not be able to access it. Contact the admin of the web service to fix the errors.

Upvotes: 1

Related Questions