I have a dotnet variable of type System.Xml.XmlDocument in C\AL. When I try to call a method of another .NET variable that has parameter of the same type (System.Xml.XmlDocument ) it fails with the following message:
"Cannot serialize an instance of the following NET Framework object: assembly System.Xml, Version=4.O.O.O, Culture=neutral, PublicKeyToken=b77a5c561934e089, type System.Xml.XmlDocument."
Code looks like following:
xmlDoc1 = xmlDoc1.XmlDocument(); // instantiate variable
// building xml data
NetXMLVar.SetXMLDoc(xmlDoc1);
Comments
/Juha