Step 2: Generate the Schema for the Flat-file Message
Updated: January 16, 2014
As described in the business scenario, Fabrikam sends a flat file message to Contoso. For Contoso, to process the message using the bridge, it must have the schema of the flat-file message added to the BizTalk Services solution. BizTalk Services SDK provides a Flat File Schema Wizard that generates a flat-file schema using an existing flat-file instance message. Contoso uses the flat-file message instance message that it received from Fabrikam (out of band, over e-mail or through another medium) and then uses the Flat File Schema Wizard to create the schema. For instructions on how to use the wizard, see How to Use the Flat File Schema Wizard.
For this tutorial, let us assume that a flat-file message (ORDERS.txt) is sent to Contoso. Contoso uses the Flat File Schema Wizard and generates the PO.xsd flat-file message schema. Both the instance message as well as the message schema is provided as part of the download available from http://go.microsoft.com/fwlink/?LinkId=247973. Add the PO.xsd schema to the BizTalk Services project you created earlier.