Welcome to MSDN Blogs Sign in | Join | Help

Microsoft BizTalk Server

(Kerrey Zheng's view with BPI Products)
了解BizTalk Server 2004(六)

升级一个架构属性(Promote a Schema Property)

属性升级是指将特定实例消息内容提升(复制)到消息上下文容器,以便于各种 BizTalk Server 组件(比如流程)对其进行访问的机制。在BizTalk中有两种类型的升级机制:

1,属性字段 (Property Fields)

2,可分辨字段 (Distinguished Fields)

以下是升级属性的步骤:

  • 首先建立一个名位OrderItems.xsd的架构文件
  • 将架构文件的Root Node改名为"Order"
  • 添加后面的Child Element Fields: "OrderID", "Description"
  • 添加一个名为"Unit"的Child Record, 然后添加后面的Child Element Fields: "UnitID", "Description", "TotalUnits", "Price"
  • 将"TotalUnits"和"Price"的DataType改为xs:int

现在可以升级OrderID字段,右键点击OrderID, 选择Promotion->Quick Promotions, 你可能需要生成一个新的属性架构文件并添加到项目文件中,该属性文件包含所有的Quick Promotions.

如果要升级一个可分辨字段,右键点击OrderID, 选择Promotion->Show Promotions, 选择Distinguished Fields Tab, 然后从左面选择Description, 选择添加,点击OK并存盘。

可分辨字段只能在流程的内部被访问;

使用Quick Promotions可以将特定实例消息内容提升(复制)到消息上下文容器,以便于各种 BizTalk Server 组件(流程,端口,管道)对其进行访问的机制。

 

Posted: Thursday, November 16, 2006 7:28 AM by Kerrey Zheng
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker