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.
Prerequisites
Note the following requirements before you begin this step:
- Before you begin this step you must complete Step 1: Create EAISchemas Project.
Procedures
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:
Use this To do this Installed Templates Click Schema Files, and then click Schema. Name Type RequestDecline.xsd
.Click Add.
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.
What did I just do?
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.
Next Steps
You create the map needed by the orchestration to create request decline message by reformatting request message.
See Also
Step 1: Create EAISchemas Project
Step 2: Create the Inventory Request Schema
Step 4: Create the Map
Step 5: Build the EAISchemas Project
Creating Schemas Using BizTalk Editor