Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Executing BTAHL7ReceivePipeline in an orchestration › Re: Executing BTAHL7ReceivePipeline in an orchestration
Issue: Getting HL7 data via SOAP and sending to HL7 Receive pipeline by extracting string HL7 data from SOAP XML and calling the custom pipeline (pipeline with custom data formatting routine to format line breaks etc and passing to HL72x DASM).
I am keep getting the error executing the object reference not set errof when calling GetCurrent(msgQBP) — see below for code. Any thoughts what would cause it? Below is the code that I am using.
xmlDoc=msgImmunizationHistoryResponse;
InputPipeline = Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline(typeof(HL7SourceQBPRecvPipeline), msgImmunizationHistoryResponse);
//Initialize
msgQBP.MSHSegment = new System.Xml.XmlDocument();
msgQBP.BodySegments = new System.Xml.XmlDocument();
msgQBP.ZSegments = "";
InputPipeline.MoveNext();
InputPipeline.GetCurrent(msgQBP);
Any help would be appriciated.
Thanks,
-Harshal