Microsoft WSE soapServerProtocolFactory在CDATA中包装XmlWriter.WriteRaw
期望的输出开始:
<timeSeriesResponse
xmlns="http://www.cuahsi.org/waterML/1.0/">
<queryInfo>
变为:
<timeSeriesResponse xmlns="http://www.cuahsi.org/waterML/1.0/"><![CDATA[<queryInfo>
禁用web.config中的soapServerProtocolFactory(或者只是将它们全部删除)。
<!-- <soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
-->