SOAP Web サービスを使用していますが、Web サービスが返された場合に文字列応答を読み取ることができます。しかし、Web サービスが文字列と XML を返す場合、この XML 応答にアクセスする方法がわかりません。たとえば。
HTTP/1.1 200 OK コンテンツ タイプ: テキスト/xml。charset=utf-8 Content-Length: 長さ
`
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetCountriesResponse xmlns="http://www.myurl.com/">
<GetCountriesResult>
<code>string</code>
<profile>xmlxml</profile>
</GetCountriesResult>
</GetCountriesResponse>
</soap:Body>
</soap:Envelope>`
その中で、これらのコードの応答と XML からのプロファイル タグにアクセスする方法がわかりません。それで、それを行う方法を提案できますか?