Reputation: 4118
Is there is standard way to consume Zend_Rest_Server response with jquery? I have a simple web service that I need to invoke and process result with ajax, preferrably JQuery.
I assume I can parse xml response somehow, but that doesn't look like a mature solution.
Upvotes: 1
Views: 189
Reputation: 125498
jQuery has the $.ajax() command for making ajax calls. One of the dataType options is xml to indicate that the response will be in xml. jQuery also supports XPath style selectors too, for easily working with xml.
Is there anything else that you need to know?
Upvotes: 1