나는 KSoap2 in android
을 사용하여 webservice를 호출하지만, 내가 가진 응답은 다음과 같습니다. android에서이 ksoap 응답을 구문 분석하는 방법.안드로이드 : 어떻게 KSOAP2 응답을 구문 분석
ResolveNamesResponse {ResponseMessages = anyType에 {ResolveNamesResponseMessage = anyType에 {보낼 메세지 = 여러 결과가 발견되었다; ResponseCode = ErrorNameResolutionMultipleResults; DescriptiveLinkKey = 0; ResolutionSet = anyType {Resolution = anyType {Mailbox = anyType {Name = Amyj; [email protected]; RoutingType = SMTP; MailboxType = Mailbox; }; 연락처 = anyType {DisplayName = Amy John; GivenName = Amy; EmailAddresses = anyType {Entry = SIP : [email protected]; Entry = SMTP : [email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = China; }; }; ContactSource = ActiveDirectory; 성 = 존; }; }; Resolution = anyType {Mailbox = anyType {Name = Amyraj; [email protected]; RoutingType = SMTP; MailboxType = Mailbox; }; 연락처 = anyType {DisplayName = Amy Raj; GivenName = Amy; EmailAddresses = anyType {Entry = SIP : [email protected]; Entry = SMTP : [email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = 인도; }; }; ContactSource = ActiveDirectory; 성 = Raj; }; }; 해상도 = anyType {Mailbox = anyType {Name = shine; [email protected]; RoutingType = SMTP; MailboxType = Mailbox; }; 연락처 = anyType {DisplayName = 요셉을 비추시오. GivenName = 샤인; EmailAddresses = anyType {Entry = SIP : [email protected]; Entry = SMTP : [email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = 인도; }; }; ContactSource = ActiveDirectory; 성 = 요셉; }; }; }; }; }; }
어떤 도움을 주셔서 감사합니다!
참조 : http://stackoverflow.com/a/2049156/442580 – capdragon