私はKSoap2 in android
を使ってWebサービスを呼び出しましたが、私が得た応答は次のとおりです。このksoapをAndroidで解析する方法Android:KSOAP2レスポンスを解析する方法
ResolveNamesResponse {ResponseMessages = anyTypeを{ResolveNamesResponseMessage = anyTypeを{MessageText =複数 結果が見出されました; ResponseCode = ErrorNameResolutionMultipleResults; DescriptiveLinkKey = 0; ResolutionSet = anyType {解像度= anyType {メールボックス= anyType {名前= Amyj; [email protected]; RoutingType = SMTP; MailboxType =メールボックス。 };連絡先= anyType {DisplayName = Amy John; GivenName = Amy; EmailAddresses = anyType {Entry = SIP:[email protected]; Entry = SMTP:[email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = China; }; }; ContactSource = ActiveDirectory;姓=ジョン; }; }; 解決= anyType {メールボックス= anyType {名前= Amyraj; [email protected]; RoutingType = SMTP; MailboxType =メールボックス。 };連絡先= anyType {DisplayName = Amy Raj; GivenName = Amy; EmailAddresses = anyType {Entry = SIP:[email protected]; Entry = SMTP:[email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = India; }; }; ContactSource = ActiveDirectory;姓= Raj; }; }; 解決= anyType {メールボックス= anyType {名前=輝き; EmailAddress = [email protected]; RoutingType = SMTP; MailboxType =メールボックス。 };連絡先= anyType {DisplayName = Shine Joseph; GivenName = Shine; EmailAddresses = anyType {Entry = SIP:[email protected]; Entry = SMTP:[email protected]; }; PhysicalAddresses = anyType {Entry = anyType {CountryOrRegion = India; }; }; ContactSource = ActiveDirectory;姓=ジョセフ; }; }; }; }; }; }
ありがとうございました!
REFERENCE:http://stackoverflow.com/a/2049156/442580 – capdragon