.net - WSE 3.0 wraps XmlWriter.WriteRaw in CDATA -


the microsoft wse soapserverprotocolfactory wraps xmlwriter.writeraw in cdata

desired start of output:

 <timeseriesresponse  xmlns="http://www.cuahsi.org/waterml/1.0/">          <queryinfo> 

becomes:

 <timeseriesresponse xmlns="http://www.cuahsi.org/waterml/1.0/"><![cdata[<queryinfo> 

disable soapserverprotocolfactory in web.config (or rid of together).

 <!-- <soapserverprotocolfactory type="microsoft.web.services3.wseprotocolfactory, microsoft.web.services3, version=3.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>    --> 

code timeseriesresponse

 [xmlroot(elementname = "timeseries",           namespace = servicedescriptions.xml_schema_namspace,           isnullable = false)]             public class timeserieselementstring : timeseriestype, ixmlserializable             {   string xml;     // snip        void ixmlserializable.writexml(xmlwriter writer)                     {                         writer.writeraw(xml);                     } uses xmlserializable, , writeraw. 


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -