我在这里有这样一个问题:我集成的服务有一个奇怪的格式。
取值:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<Operation>
<XmlStream>
<Name>GetPolicys</Name>
<XML><![CDATA[
<Arra>
<Ul>
<LastName>---</LastName>
<FirstName>---</FirstName>
<FatherName>---</FatherName>
<Birthday>---</Birthday>
</Ul>
</Array>]]>
</XML>
</XmlStream>
</Operation>
</soapenv:Body>
</soapenv:Envelope>
并返回
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<OperationResponse>
<OperationResult>
<ResultName>GetPolicys</ResultName>
<XML><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<Array>
<Ul>
<LastName>----</LastName>
<FirstName>----</FirstName>
<FatherName>---</FatherName>
<Birthday>--</Birthday>
<PolicyList>
----
</PolicyList>
</Ul>
</Array>]]>
</XML>
</OperationResult>
</OperationResponse>
</s:Body>
</s:Envelope>
创建我收到的嵌套消息。因为它包裹在 CDATA 中?在准备中如何从CDATA中得到它?