This project has moved and is read-only. For the latest updates, please go here.

How to print xml response of Webservice

Jun 11, 2010 at 3:23 PM
Edited Jun 11, 2010 at 3:31 PM
Marc, I have done this so far to get itmes from list and work fine but only thing how can print response to figure out XML. <script type="text/javascript"> $(document).ready(function() { $().SPServices({ operation: "GetListItems", async: false, listName: "{9275c903-93dc-485b-bbec-7fbd457c9c6c}", webURL:"/CORPORATE", CAMLQuery:"<Query>" + "<OrderBy><FieldRef Name='Title' Ascending='TRUE'/></OrderBy>" + "</Query>", completefunc: processResult }); }); function processResult(xData, status){ } </script> Please advise
Jun 11, 2010 at 4:20 PM


You can see the contents of the XML returned by the Web Services quickly by adding this alert in the completefunc:


See the documentation at the bottom of this page: