Passing XML in BizTalk

Published Thursday, December 13, 2007 2:31 AM

Something I noticed last week at a client: The developer keep getting XLANG errors when passing XML from the orch to a custom DLL. The issue? The XML passed is already serializable, but the developer did the following in his code:

 

XmlDocument newDocument = passedXmlDocument;

 

This will break, because the newDocument is not serializable. So, remember, do not set XML passed from BizTalk to a new document. Use it as is.

by riaan

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: