问题描述
我收到"0xC0C01B52(编排引擎错误)"在"接收"中形状。
抛出异常:段1,进度3
内部异常:多部分消息'oruv23 '有正文部分'BodySegments',预期正文部分'MSHSegment'。
$
异常类型:WrongBodyPartException
来源:Microsoft.XLANGs.BizTalk.Engine
目标站点:Void ReadMessageState(Microsoft.XLANGs.Core.Envelope ,Microsoft.XLANGs.BaseTypes.XLANGMessage)
以下是一个堆栈跟踪,用于标识发生异常的位置
在Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ReadMessageState(Envelope env,XLANGMessage msg)
在Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.ReceiveMessage(Int32 iOperation,Envelope env,XLANGMessage msg,Correlation [] initCorrelations,Context cxt,Segment s)
在Test1Orchestration.Transform.segment1(StopConditions stopOn)
在Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,StopConditions stopCond,Exception& exp)
PS:我发现了上述错误的几个解决方案什么时候在线搜索。但看起来我的情况略有不同但不确定。
关于我在做什么的简要描述:
使用编排来学习并了解如何使用它。
1。接收HL7 ORU V23消息(来自文件夹)。
2.将HL7 ORU V23转换为HL7 ORU V231(使用地图)并放入文件夹。
我使用该链接作为指南:
让我对上述错误感到困惑的是
为什么它抱怨输入的HL7 ORU V23消息(即 oruv23 )因为它包含MSH段。
我仅为"转换形状"输出的消息创建了多部分消息。这是HL7 ORU V231。
非常感谢任何帮助。我只想从基本场景开始学习如何在Biztalk中使用编排,但看起来这不是基本的或者我缺少编排基础?
另外,请指出我基本教程,显示/列出了如何使用HL7消息成功实现编排的步骤。我很乐意遵循它。我只是想学习。
I am getting "0xC0C01B52 (Orchestration Engine Error)" in "Receive" Shape.
Exception thrown from: segment 1, progress 3
Inner exception: Multi-part message 'oruv23' has body part 'BodySegments', expected body part 'MSHSegment'.
Exception type: WrongBodyPartException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void ReadMessageState(Microsoft.XLANGs.Core.Envelope, Microsoft.XLANGs.BaseTypes.XLANGMessage)
The following is a stack trace that identifies the location where the exception occured
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ReadMessageState(Envelope env, XLANGMessage msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.ReceiveMessage(Int32 iOperation, Envelope env, XLANGMessage msg, Correlation[] initCorrelations, Context cxt, Segment s)
at Test1Orchestration.Transform.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
PS: I found couple of solutions to the above error when did online search. But looks like mine is little different but not sure though.
Brief description about what I am doing:
Using orchestration for the purpose to learn and get basic idea how to use it.
1. Receive HL7 ORU V23 message (from a folder).
2.Convert HL7 ORU V23 into HL7 ORU V231 (using map) and drop into the folder.
I am using the link as guidelines: http://masteringbiztalkserver.blogspot.com/2011_06_01_archive.html
The thing which confuses me about the above error is why it is complaining about the input HL7 ORU V23 message ( i.e. oruv23) as it contains the MSH segment.
I created Multipart message only for the message out put by the "Transformation shape" which is HL7 ORU V231.
Any help is greatly appreciated. I just want to start with basic scenario to learn how to use orchestration in Biztalk but looks like either this is not the basic or i am missing orchestration fundamental?
Also, please point me to any basic tutorial which shows/lists steps how to successfully implement orchestration with HL7 message. I will be glad to follow it. I just want to learn.
这篇关于编排引擎错误“在“接收”中形状:WrongBodyPartException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!