CDATA を含む SOAP 応答がありますが、Java で応答を処理します。すべての開始引用符 (<) は (<) に置き換えられます。
応答は次のようになります
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:Response xmlns:ns="http://pipeline_ws">
<ns:return>
<![CDATA[<fr><Result>
<ListPartner>
<operator>
<country_code></country_code>
<currency_code></currency_code>
<operator_code></operator_code>
</operator>
</ListPartner>
</Result></fr>]]></ns:return>
</ns:Response>
</soapenv:Body>
</soapenv:Envelope>
しかし代わりに、これは私が得ている応答です
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:Response xmlns:ns="http://pipeline_ws">
<ns:return>
<fr>
<Result>
<ListPartner>
<operator>
<country_code></country_code>
<currency_code></currency_code>
<operator_code></operator_code>
</operator>
</ListPartner>
</Result>
</fr>
</ns:return>
</ns:Response>
</soapenv:Body>
</soapenv:Envelope>
応答を解析できるように、不要な文字 (<) を削除/置換するソリューションを提供してください。SAAJ を使用して応答を処理しています
// Process the SOAP Response
SOAPMessage soapResponse = soapConnection.call(createSOAPRequest(), url);
soapResponse.writeTo(System.out);