I was recently tasked with creating an eConnect integration between Microsoft Dynamics GP 10 and a custom SharePoint 2010 Portal designed to replace the GP Item Maintenance process with workflow and departmental routing. Most of the eConnect examples I see online serialize the eConnect object to a file before loading it into an XmlDocument
Read the article:
Microsoft Dynamics 10 eConnect C# 4.0 .NET Serialization In Memory