WSE 3.0在CDATA中包装XmlWriter.WriteRaw

时间:2011-02-19 00:46:28

标签: .net web-services wse

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"/>
   -->

0 个答案:

没有答案