android - How to parse return value form werbservice - ksoap2 -


i have asp.net webservice return values :

err﹕ checkusersresponse{checkusersresult=anytype{anytype=value1;  anytype=value2; anytype=value3; anytype=value4; anytype=value5;  anytype=value6; anytype=value7; anytype=value8; }; } 

        httptransportse  transp = new  httptransportse (url);         transp.call(soap_action, envelope);         soapobject result=(soapobject)envelope.bodyin;          log.e("err",result.tostring()); 

how parse it?

solved

 soapobject result=(soapobject)envelope.bodyin;  soapobject element;  element = (soapobject)result.getproperty(0);  log.e("err",element.getproperty(1).tostring()); //0 1 2 3 4 ... 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -