AlexA
AlexA

Reputation: 4118

Consuming Zend_Rest_Server response with jquery

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

Answers (1)

Russ Cam
Russ Cam

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

Related Questions