Really my process is very single, I have an infopath form (file.xsn) and a XML file (file that contains some records of any information), at this moment I’m traying to create a Biz Talk solution that include a schema, a send pipeline and a orchestration, I’m using the processing instructions to save the contents of an infopath form in a XML file (for it I’m consulting the Jan Tielens and Stas Kondratievs blog’s) but until now I haven’t been able solve it.
In this process I need integrate the infopath form in the XML file using the processing instructions in a Biz Talk orchestration.
I think your problem is your Processing Instructions are getting overwritten. I’m guessing your Send Pipeline is overriding them or not appending them as needed.
Processing Instruction can be set in three ways: inside an Orchestration, inside a map, or inside the pipeline. How they are handled in the Send Pipelines also depends if they exist in the original message.
In my Sharepoint hands on lab, I set them inside the Orchestration but then I use the Pass Through pipeline on the send side.
How are you setting your Processing Instructions? I’m guessing your input message does not have processing instructions?