Step 3: Create the Request Decline Schema
Time to complete: 7 minutes
Objective: In this step, you create the schema for the message BizTalk Server sends back to the warehouse if the business process rejects the inventory replenishment request.
Purpose: The schema defines the data and the structure of the request decline message. BizTalk Server uses the schema to identify and interact with the data in the message.
Note the following requirements before you begin this step:
Before you begin this step you must complete Step 1: Create EAISchemas Project.
To create the Request Decline schema
In Solution Explorer, right-click the EAISchemas project, point to Add, and then click New Item.
In the Add New Item - EAISchemas dialog box, do the following:
To do this
Click Schema Files, and then click Schema.
In BizTalk Editor, from schema tree, click the Root node to select it.
In the Properties pane, change the value of the Node Name property to DeclineReq, and then press ENTER.
In schema tree, right-click the DeclineReq node, point to Insert Schema Node, and then click Child Field Element.
Type ReqID as the new name for the element, and then press ENTER.
Add a second child field element named GrandTotal.
On the File menu, click Save All.
In this step, you created the schema for the message that BizTalk Server sends back to the warehouse if the business process rejects the inventory request.
You create the map needed by the orchestration to create request decline message by reformatting request message.