I am trying to set up a datasource with the code at the end of the post but the data isn't sent to the server (xmlstring is a string of the xml to be included as the body) I always get content length zero.
Is it possible to send an xml string as the body of a POST? I do this from desktop applications and Flash (actionscript) in a similar way but can't seem to get any results with Kendo. Any help would be appreciated.
As am FYI this works but I'm guessing I can't do this with the Kendo datasource ( $.ajax({
Thanks,
Jeff
Is it possible to send an xml string as the body of a POST? I do this from desktop applications and Flash (actionscript) in a similar way but can't seem to get any results with Kendo. Any help would be appreciated.
As am FYI this works but I'm guessing I can't do this with the Kendo datasource ( $.ajax({
type: 'POST', url: "http://rest.site.comm/rest/isc/packagecontents", data: xmlstring, dataType: "xml")
Thanks,
Jeff
var dataSource = new kendo.data.DataSource({ transport: { read: { type: "POST", // specify the XML file to read. The same as read: { url: "books.xml" } url: "http:/rest.site.com/rest/isc/packagecontents/" , dataType: "xml", data: xmlstring }