Assume that you use a Minimal Lower Layer Protocol (MLLP) adapter to process messages on the receive side by using BTAHL72XMLReceivePipeline in Microsoft BizTalk Server. In this scenario, you may notice that the MLLP adapter receives only few messages and then fails when you push more messages by using the MLLP send tool. Additionally, you may receive the following exception error message:
Exception occured while executing pipeline BTAHL72XMLPipelines.BTAHL72XMLReceivePipeline, BTAHL72XMLPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=TokenID: msg=Root element is missing., stack= at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at Microsoft.BizTalk.Streaming.Utils.GetDocType(MarkableForwardOnlyEventingReadStream stm, Encoding encoding)
at Microsoft.Solutions.BTAHL7.Pipelines.HL72XmlDasm.SaveMessageAndSetDocType(IPipelineContext pc, IBaseMessage inMsg)
at Microsoft.Solutions.BTAHL7.Pipelines.HL72XmlDasm.Disassemble(IPipelineContext pc, IBaseMessage inMsg)
at Microsoft.BizTalk.PipelineOM.DisassemblingParserStage.Disassemble(IBTMPipelineContext pc, IBaseMessage inMsg, Int32 dasmStageIndex)
at Microsoft.BizTalk.PipelineOM.ReceivePipeline.Execute(IBaseMessage msgIn)