JSON and jQuery.ajax JSON and jQuery.ajax json json

JSON and jQuery.ajax


I believe you need to include the name of the method to your URL:

/WebService/Member.asmx/GetMembers

When using a webservice I always like to set the path to the root (/ no ../), it can be helpful if you are doing any kind of URL rewrites or using routing.

Here is a good blog post to read in regards to calling a webservice from JQuery. http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/