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
}
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