什么是创建一个BizTalk业务流程中的一个新信息的最佳方式? [英] What is the best way to create a new message within a Biztalk Orchestration?
问题描述
我在寻找用于创建基于预定义的XSD架构一个新的消息实例被BizTalk业务流程中使用的最佳解决方案。
I'm looking for your best solutions for creating a new message instance based on a pre-defined XSD schema to be used within a Biztalk orchestration.
附加票去与阴&解答;高效的例子或答案提供优质的引用链接。
Extra votes go to answers with clear & efficient examples or answers with quality referenced links.
推荐答案
你到底是找什么呢?难道仅仅是创建一个带有固定内容(如一种模板)一个新的消息?或者基于其他什么东西?你真的需要澄清的问题,更具体得到正确的答案。
What exactly are you looking for? Is it just creating a new message with a fixed content (like a sort of template)? Or based on something else? You really need to clarify the question and be more specific to get a proper answer.
如果你指的是与基础类的硬编码的内容只是从头开始创建消息(或接近),那么我发现,把它们作为嵌入资源的助手C#程序集是这样做的相当干净的方式。斯科特Colestock有一个漂亮的 这很好的解释技术。
If you're referring to just creating a message from scratch based with sort of hardcoded content (or close to), then I've found that putting them as embedded resources in a helper C# assembly to be a pretty clean way of doing it. Scott Colestock has a pretty good explanation of this technique.
这篇关于什么是创建一个BizTalk业务流程中的一个新信息的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!