i am developing an android application to get a list of class from wevservice
the method of webservice is like List<mytable> GetAllmytableData();
But i cant cast that data in my mytable class. i create a mytable class as http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-tutorial-with.html this link suggested.
also applied kvm serialization in myclass to cast data. but always getting getting java.lang.ClassCastException: org.ksoap2.serialization.SoapObject
error.
Data i getting in soapenvelope is like
anyType{DisplayName=a; Email=hi@y.com; FirstName=a; LastChangedDate=2/5/2012 11:24:38 PM; LastName=a; ObserverID=1; UserID=1; }
anyType{DisplayName=b; Email=hi@y.com; FirstName=b; LastChangedDate=2/5/2012 11:25:52 PM; LastName=b; ObserverID=1; UserID=2; }
anyType{DisplayName=c; Email=hi@y.com; FirstName=c; LastChangedDate=2/6/2012 9:10:44 AM; LastName=c; ObserverID=3; UserID=3; }
how i can parse and put in my "mytable" class's object array,
any suggestion on link plz provided