如何从接收位置查找文件名。 [英] How to find the file name from receive location.

查看:67
本文介绍了如何从接收位置查找文件名。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好团队,

在一个用例中,我发现文件名没有进入从自定义管道处理的消息。如何获取名称并从接收位置绑定到架构?如果 我使用XML接收作为管道如何在
orchestration中获取我的文件名?

In a use case, I find that file name is not getting into the message that processes from a custom pipeline. How can I get the name and bind to the schema from the receive location? If  I am using XML receive as pipeline How can I get my filename in orchestration?

提前致谢。

推荐答案


您的问题似乎不清楚;您不需要文件名来绑定任何架构;只要您使用适当的反汇编程序,BizTalk就会自动执行此操作。

Your questions seem to be unclear; you don't need file name to bind any schema; BizTalk does this automatically as long as you use an appropriate disassembler.


就业务流程中的文件名而言,它是由文件适配器提升的,如果你正在使用这样的。您可以从输入消息上下文属性中获取名称  BTS.ReceivedFileName 即可。
在表达式中,shape使用下面的代码。

In so far as the filename in orchestration is concerned, it is promoted by the file adapter, if you are using such. You can get the filename from the input message context property called BTS.ReceivedFileName. In the expression, shape use the code below.


FileName = InputMessage(BTS.ReceivedFileName);

FileName = InputMessage(BTS.ReceivedFileName);


----------------------------------- -------------------------------------------------- ----------------

-----------------------------------------------------------------------------------------------------


请标记"建议作为答案"如果您对答案感到满意

Please mark "Propose as answer" if you are satisfied with the answer


这篇关于如何从接收位置查找文件名。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆