pipeline from an orchestrationGenerally speaking, as part of the integration process, sending a new pipeline from an orchestration is not an appropriate way to handle data transfer. There are many reasons for not doing this and here at Art2link we don’t advise to do it. However, in the case where you have send and receive data without any other alternative, this is how we would typically build this type of pipeline:

How to call a Send Pipeline from an Orchestration Step by Step

1. Add the following References to your Project:

Microsoft.XLANGs.Pipeline.dll – You can find this in the old GAC at C:WindowsGACMSIL
Microsoft.BizTalk.Pipeline.dll – This one gets added if you create a Send Pipeline

2. In your Orchestration create:

a Message of type System.Xml.XmlDocument (lets call it SendPipelineOutputMessage) and a variable of type Microsoft.XLANGs.Pipeline.SendPipelineInputMessages (lets call it SendPipelineInputMessages).

3. Next, drop a Message Assignment shape and put the following in it:

SendPipelineInputMessages.Add(Message_3);
SendPipelineOutputMessage = new System.Xml.XmlDocument();
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(ExceptionMap.SendPipeline1), SendPipelineInputMessages, SendPipelineOutputMessage);

Make sure that you set the Messages Constructed Property = SendPipelineOutputMessage.

Note

The Message_3 is your input message. Should you choose, it is feasible to add more messages to the total pipeline and get them done as a batch. While this process may seem inefficient, it is the best way to get send a pipeline of data from an Orchestration if you are constrained to these specific parameters.

Art2link is a member of the BizTalk V-TSP Program and has been for many years, making us one of the few organizations in the world exposed to Microsoft’s BizTalk Server Product Team. We actively cooperate with Microsoft’s Product Team to make the product the best it can be to improve the user experience. If you need help implementing this case scenario where Calling a Send Pipeline from an Orchestration is needed, or even more complicated cases don’t hesitate and give us a call. Our staff of certified professionals will guide you and your team to find the best solution for your particular case.

To learn more about BizTalk Orchestrations click here.

Share This