I'm trying to call a receive pipeline from the orchestration in order to catch any type of flatfile_to_xml error.
After searching for tutorials, the process seemed quite easy. Added the libraries, created my inputMsg of type xmlDocument to inglobe any non-Xml payload (in my case the content of my file.txt) and created an atomic scope containing an expression for:
Microsoft.XLANGs.Pipeline.XLANGPipelineManager
.ExecuteReceivePipeline(typeof(namespace.pipelineName), msgIN);
Too bad I get that ExecuteReceivePipeline can't accept a XmlDocument while it accepts only a Microsoft.XLANGs.BaseType.XLANGMessage).
Cannot connvert from 'System.Xml.XmlDocument' to 'Microsoft.XLANGs.BaseTypes.XLANGMEssage'
Why this, and how can I achieve what I'm trying to achieve?