Below is the code that you might have to use:
/* =================================== */
/* Obtain XML object filled with Data*
/* =================================== */
var xmlHttp = new XMLHttpRequest();
var xmlDom;
xmlHttp.open( "GET", "/XMII/Runner?Transaction=ProjectsStatus/Transactions/ProjectsStatus&OutputParameter=JSONData&Content-Type=text/xml", false );
xmlHttp.send();
xmlDom = xmlHttp.responseText;
// create a XMLModel, fill in the data and bind the Table to this model
var oModel = new sap.ui.model.xml.XMLModel();
//oModel.setData({modelData: xmlDom});
oModel.setXML(xmlDom);
oTable.setModel(oModel);
oTable.bindRows("/element"); //where element is the node that represents that data which forms each row of the table
// finally place the Table into the UI
oTable.placeAt("content1");
You might have to change this statement : oTable.bindRows("/element"); based on the structure of the xml returned by the service. You can post the xml structure like the one I have added in my previous reply, that might help me check if your code is right.
Regards,
Ria