使用未构造的消息“msg_mymessage”;
我有一个带有表达式的 BizTalk 编排。该表达式具有以下内容:
construct msg_mymessage { msg_mymessage = msgInputXML; }
msgInputXML 和 msg_mymessage 使用相同的架构、相同的消息类型,并且都显示在 Orchestration 视图中的消息下。
在表达式之后,我有一个构造消息,在构造消息中,我有一个使用 msg_mymessage 作为源和其他消息作为目标的转换。
我收到错误: 使用未构造的消息“msg_mymessage” 'msg_mymessage':消息尚未在构造语句中初始化
我不确定为什么会出现此错误。我应该寻找什么?
I have a BizTalk orchestration with an expression. The expression has the following:
construct msg_mymessage { msg_mymessage = msgInputXML; }
msgInputXML and msg_mymessage use the same schema, same message type and both show up under the Messages in Orchestration view.
After the expression I have a Construct Message and in the Construct message I have a Transform that uses msg_mymessage as a source and some other message as a destination.
I'm getting the errors:
use of unconstructed message 'msg_mymessage'
'msg_mymessage':message has not been initialized in construct statement
I'm not sure why I get this error. What should I be looking for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
确保在创建 msg_mymessage 时使用赋值形状(在构造消息包装器内)。然后只需复制表达式形状中的代码 (msg_mymessage = msgInputXML;)
http://msdn.microsoft.com/en-us/library/ee253499(v=bts.10).aspx
Make sure that you use an assignment shape (inside a construct message wrapper) when you create msg_mymessage. Then just copy the code in the expression shape (msg_mymessage = msgInputXML;)
http://msdn.microsoft.com/en-us/library/ee253499(v=bts.10).aspx
你需要做吗,
Do you need to do,
我的猜测是您没有在早期形状中构造
msg_mymessage
。查看博客文章 构建 BizTalk 2004 XML 消息(在编排中)- 选择,演示了在 BizTalk 中构造消息的多种方法。
My guess is that you didn't construct
msg_mymessage
in earlier shapes.Check the blog article Constructing BizTalk 2004 XML Messages (In an Orchestration) - Choices which demonstrates several ways to construct a message in BizTalk .
在构建的消息形状中,您需要定义要创建的消息类型。当您放下形状时,下拉对话框会询问您正在构建什么类型的消息。您可以选择多个。因此,如果您碰巧检查到一条消息不是以此形状构造的,您也会收到此确切消息。
In your constructed messages shape, you need to define the message type you are going to create. when you drop the shape, the drop down dialog will ask you what type of message you are constructing. You can select more than one. so if you happen to have a message checked that isnt being constructed in this shape, you will get this exact message also.