throws FetionException
{
Element root = XMLHelper.build(response.getBody().toSendString());
List delScList = XMLHelper.findAll(root, "/results/schedule-sms-list/*schedule-sms");
Iterator it = delScList.iterator();
FetionStore store = this.context.getFetionStore();
while(it.hasNext()){
Element e = (Element) it.next();
int scId = Integer.parseInt(e.getAttributeValue("id"));
ScheduleSMS sc = store.getScheduleSMS(scId);
if(sc!=null){
store.deleteScheduleSMS(sc);
}
}
Element sclist = XMLHelper.find(root, "/results/schedule-sms-list");
if(sclist!=null){