| Denzil Pinto님의 프로필TheBuzz사진블로그리스트 | 도움말 |
|
5월 16일 Promote a Schema PropertyPromoting a property makes it accessible to other biztalk components like orchestration. There are two types of promotions in biztalk
1. Property fields
2. Distinguished fields.
Lets go through an example to promote fields
OrderItems
1. Right click on your project file and click on Add > Add New Item . Select Schema from the Templates provided and enter the name OrderItems.xsd and click on Open.
2. In the Schema Editor Right click on the Root Node and select Rename from the list and enter the name Order and press Enter.
3. Right Click on Order and select Insert Schema Node and select Child Field Element. Enter the name OrderID and press Enter. Again Right click on order and select Insert Schema node and select Child Field Element. Enter the name Description and press Enter.
4. Now we are going to add a new Child Record. Again Right click on Order and select Insert Schema Node and select Child Record, enter the name Unit and press Enter.
5. Follow the 3 step and create new Child Field Elements called UnitID, Description,TotalUnits,Price.
6. Now click on TotalUnits and right click and select properties, goto the DataType and select xs:int. Follow the same steps for the Price and select xs:int for the datatype.
7. We have now created our first schema
Now lets promote the field OrderID. Right Click on OrderID and select Promote > Quick Promotions. You might be prompted to create a property schema and add it to your project file. Click on OK. This file will contain all your quick promotions.
Now Inorder to Promote distinguished fields, Right click on OrderID and click on Promote > Show Promotions. Select the distinguished Fields tab and select Description from the left pane and click on Add. Click on Ok and then Save your work.
---------------------------------------------------------------------------------------------------------
Distinguished fields are only accessible inside an orchestration.
By using quick promotions you promote a field element into the message context. A property field is accessible in orchestration, ports, pipeline components. 트랙백이 블로그의 트랙백 URL은 다음과 같습니다. http://denzilpinto.spaces.live.com/blog/cns!A2256C53CD2EC18E!191.trak 이 블로그를 참조하는 웹 로그
|
|
|