lundi 16 mars 2015

Parsing webservice anytype response

I have went through almost all url regarding this in stackoverflow but could not make it work even after following same steps,either getting property not found or arrayindex exception ,the response i am trying to parse is has below and this can contain 'n ' number of table data



anyType{
schema=anyType{
element=anyType{
complexType=anyType{
choice=anyType{
element=anyType{
complexType=anyType{
sequence=anyType{
element=anyType{

};element=anyType{

};element=anyType{

};element=anyType{

};element=anyType{

};
};
};
};
};
};
};
};diffgram=anyType{
NewDataSet=anyType{
Table=anyType{
RemMessage=ExeedDiscountLimitonInvoicedatedon05/03/2015forCSHAH,
from3-LokhandwalaShowroom;InvM_Id=77693;DocType=3;PrmR_TypeId=3;PrmR_Id=1820;
};
};
};
}


anyone could parse this with considering multiple entries would be very useful,i have tried with one approach here Not able to parse the response getting Invalid array range: 5 to 5






Aucun commentaire:

Enregistrer un commentaire