2016-05-03 2 views
0

Я пытаюсь создать приложение Android для получения данных с сервера веб-служб. Вот мой код:Как извлечь элемент из мыльного объекта

SoapObject results = (SoapObject) envelope.bodyIn; 

Нижняя строка - это мой результат. Как я могу получить идентификатор пользователя, имя пользователя, имя учетной записи, accountid и accounttype из объекта мыла?

LogInResponse{LogInResult=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{DocumentElement=anyType{user=anyType{userid=""; accountid=; accountname=; usersname=; accounttype=; }; }; }; }; } 

ответ

Смежные вопросы