Get string from KSoap Response

MixMaker

New Member
My question is somewhat similar to Get boolean from SoapObject (kSOAP2),so, the thing is my soap response is something like\[code\]anyType{ResCode=100; TransID=123456; Signature=abc123def456; OutputParams=anyType{params=anyType{useruid=a-e23; status=1; fullname=john smith; }; }; }\[/code\]pretty much with the same format as the link above, but using the answers provided there I still keep getting \[code\]09-20 13:05:46.549: E/AndroidRuntime(315): Caused by: java.lang.RuntimeException: illegal property: useruid\[/code\]and the code that i used was \[code\]//resp = resp.getProperty("OutputParams");\[/code\]\[code\]//resp = (SoapObject) resp.getProperty("params");\[/code\]\[code\]//str = resp.getPropertyAsString("userid");\[/code\]\[code\]str = resp.getPropertyAsString("params");\[/code\]all these didn't work... anybody has more ideas?
 
Back
Top