I am using ExtJS and I made a service call using SOAPClient as such:
var url2 = "https://serviceUrlGoesHere/MyService";
var pl = new SOAPClientParameters();
pl.add("arg0", false);
SOAPClient.invoke(url2, "getPaymentsMethod", pl, true, getDataCallback);
My response method:
function getDataCallback(response) {
???
};
Here is the service response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<dlwmin:getPaymentsMethod xmlns:dlwmin="http://blahblah.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<return>
<contents>
<eftAcctNo>501014635986</eftAcctNo>
<eftAcctRoutNo>122400724</eftAcctRoutNo>
</contents>
<contents>
<eftAcctNo></eftAcctNo>
<eftAcctRoutNo></eftAcctRoutNo>
</contents>
<contents>
<eftAcctNo></eftAcctNo>
<eftAcctRoutNo></eftAcctRoutNo>
</contents>
<status>0</status>
</return>
</dlwmin:getPaymentsMethod>
</soapenv:Body>
</soapenv:Envelope>
My question is... how do I add this data to a model and populate a dataGrid?