I called a webservice using KSoap2 in Android, but the response I got is as follows. How to parse this ksoap response in Android?
ResolveNamesResponse{ResponseMessages=anyType{ResolveNamesResponseMessage=anyType{MessageText=Multiple results were found.; ResponseCode=ErrorNameResolutionMultipleResults; DescriptiveLinkKey=0; ResolutionSet=anyType{Resolution=anyType{Mailbox=anyType{Name=Amyj; [email protected]; RoutingType=SMTP; MailboxType=Mailbox; }; Contact=anyType{DisplayName=Amy John; GivenName=Amy; EmailAddresses=anyType{Entry=SIP:[email protected]; Entry=SMTP:[email protected]; }; PhysicalAddresses=anyType{Entry=anyType{CountryOrRegion=China; }; }; ContactSource=ActiveDirectory; Surname=John; }; }; Resolution=anyType{Mailbox=anyType{Name=Amyraj; [email protected]; RoutingType=SMTP; MailboxType=Mailbox; }; Contact=anyType{DisplayName=Amy Raj; GivenName=Amy; EmailAddresses=anyType{Entry=SIP:[email protected]; Entry=SMTP:[email protected]; }; PhysicalAddresses=anyType{Entry=anyType{CountryOrRegion=India; }; }; ContactSource=ActiveDirectory; Surname=Raj; }; }; Resolution=anyType{Mailbox=anyType{Name=shine; [email protected]; RoutingType=SMTP; MailboxType=Mailbox; }; Contact=anyType{DisplayName=Shine Joseph; GivenName=Shine; EmailAddresses=anyType{Entry=SIP:[email protected]; Entry=SMTP:[email protected]; }; PhysicalAddresses=anyType{Entry=anyType{CountryOrRegion=India; }; }; ContactSource=ActiveDirectory; Surname=Joseph; }; }; }; }; }; }