如何动态调用 BizTalk Orchestration
如何在知道业务流程名称的情况下动态调用 BizTalk 业务流程?
调用Orchestration形状需要在设计时知道Orchestration的名称和参数。 我尝试过使用“call”XLang 关键字,但它也需要编排名称作为设计时的形式,就像在表达式形状中一样,我们可以这样写,因为
call BizTalkApplication1.Orchestration1(param1,param2);
我正在寻找某种方法来指定来自传入消息或来自 SSO 配置的调用编排名称店铺。
编辑:我正在思考 BizTalk 2006 R1(ESB 指南适用于 R2,我不知道它如何解决我的问题)
How can I call a BizTalk Orchestration dynamically knowing the Orchestration name?
The call Orchestration shapes need to know the name and parameters of Orchestrations at design time. I've tried using 'call' XLang keyword but it also required Orchestration name as Design Time like in expression shape, we can write as
call BizTalkApplication1.Orchestration1(param1,param2);
I'm looking for some way to specify calling orchestration name, coming from the incoming message or from SSO config store.
EDIT: I'musing BizTalk 2006 R1 (ESB Guidance is for R2 and I didn't get how it could solve my problem)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我过去完成类似事情的方法是在编排中使用直接绑定端口,并让 MsgBox 为我做脏活。 基本上,它是这样的:
步骤 4 中需要注意的一件事:要使其正常工作,您需要创建一个新的关联集类型,其中包含您的自定义上下文属性,然后确保直接绑定的发送端口“遵循”上的关联集发送。 否则,自定义属性只会写入(而不会提升)到 msg 上下文,并且路由将会失败。
希望这可以帮助!
The way I've accomplished something similar in the past is by using direct binding ports in the orchestrations and letting the MsgBox do the dirty work for me. Basically, it goes something like this:
One thing to watch out in step 4: To have this work correctly, you will need to create a new Correlation Set type that includes your custom context property, and then make sure that the direct-bound send port "follows" the correlation set on the send. Otherwise, the custom property will only be written (and not promoted) to the msg context and the routing will fail.
Hope this helps!
查看 ESB 指南 (www.codeplex.com/esb) 该软件包提供了您正在寻找的功能
Look at ESB Guidance (www.codeplex.com/esb) This package provides the functionality you are looking for