Geeks With Blogs
Jim Becher blog

I have an application that I wrote that uses a web service to provide data back to a central app.  I needed a windows sidebar gadget to consume the web service.  However I noticed that when using javascript to consume the service I would get errors.  I then realized that I had to enable my web service to allow for access via HTTP GET. This allows the web service URL to be accessed using a string with any parameters added to the string.  

To enable this on your ASMX web service you just need a few parameters in the web.config. Inside the <System.web> settings.

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

Posted on Tuesday, March 13, 2007 1:46 PM | Back to top


Comments on this post: Consuming a web service with httpget

# re: Consuming a web service with httpget
Requesting Gravatar...
hello there
Left by joe on Feb 17, 2011 10:46 AM

Your comment:
 (will show your gravatar)


Copyright © Jim Becher - Untangle the Web | Powered by: GeeksWithBlogs.net