Nino Crudele's Blog

BizTalk Server Road

Infopath, BizTalk and WSS 3.0

If we want to send a document to a form library InfoPath WSS 3.0 by using the BizTalk adapter must specify the Optiondi ProcessingInstruction in our message through

a shape of Contructmessage or proprità copy processing instruction on the map processing setting to true.

Clear that if the inbound message does not contain these instructions must insert them handwritten by precisely a contruct message shape.

This is how to:

MsgOUT = MsgIN;
MsgOUT (XMLNORM.ProcessingInstructionOption) = 1;
(XMLNORM.ProcessingInstruction) MsgOUT = ' <? mso-infoPathSolution solutionVersion=\"1.0.0.1\"productVersion=\"11.0.6250\" PIVersion=\"1.0.0.0\"href=\"file:///C:\\InfoPath\\ExpenseReport.xsn\" name = \ "urn: schemas - microsoft - com: infopath:ExpenseReport:-myXSD-2004-04-20T07-24-16\"? > <? mso-application progid=\"InfoPath.Document\"? > ";

Published 04-14-2009 5:59 by Nino Crudele