My Photo
Name:
Location: United States

Monday, October 08, 2007

System.Xml.XmlDocument is not marked as serializable

XmlDocument is not marked as serializable, as you can send as a parameter to COM+ methods, the resolution is to send Xml as string

Dim r_oXMLdocString As String = r_oXMLdoc.InnerXml
call the server function here...


ServerFunction()
{
Dim r_xmldoc As New Xml.XmlDocument, parzError As String
LoadnParseXML(r_XMLdoc, sr_XMLdoc, parzError)

do processing...

sr_XMLdoc = r_xmldoc.InnerXml
}

0 Comments:

Post a Comment

<< Home