Displaying 1 result from an estimated 1 matches for "restlet".
Did you mean:
restlen
2007 Sep 27
4
transportXML returns null?
...sponse=transport.responseXML
Response is null. On the other hand:
var response=transport.responseText; // has the data.
Why is response=transport.responseXML returns null?
Here is the code:
function display() {
url = "http://" + location.hostname + port + "/fusion/
restlet/";
url = url + "engines" + sServer;
new Ajax.Request(url,
{
method:"get",
contentType:"application/xhtml+xml",
onSuccess: function(transport) {
var response = transport.responseXML; //...