Consuming JSON and XML Webservices from an HTML Page using jQuery
page 4 of 4
by Rajesh Toleti
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 27293/ 100

Summary

      In this way, it is very simple to consume webservices whether their response is either XML or JSON. JQUERY is cross browser compatible and works with all major browsers. There are some JSON, XML webservices available for testing from 'Google maps'. Check the REFERENCE section. One more interesting thing I want to mention is we can call any number of webservices from different places , different formats and can display easily in the same page. In the download section, the HTML page shows both JSON, XML webservices. We can use the same method in ASP.net 2.0/3.5/4.0 to consume webservices without any server side code.

References

http://en.wikipedia.org/wiki/Usage_share_of_web_browsers

http://jquery.org/

http://json.org/

http://encosia.com/2009/02/10/a-breaking-change-between-versions-of-aspnet-ajax/#comment-34045

http://code.google.com/apis/maps/documentation/webservices/


View Entire Article

User Comments

Title: Data cant shown in Google Chrome   
Name: Khoo
Date: 2012-08-02 6:32:43 AM
Comment:
Great explanation! It helps me a lot! Thanks!
It works fine in IE.
However, the table with no data shown in Google Chrome.
Any idea?
Title: paging   
Name: vinay
Date: 2011-04-19 7:29:48 AM
Comment:
good post but i have one more thing that is how can i do paging for the table created using json data






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-10-10 4:26:36 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search