Esporta (0) Stampa
Espandi tutto

Tutorial: Using BizTalk Bridges to Insert Flat File Messages into an On-premises SQL Server

Aggiornamento: settembre 2014

This tutorial provides instructions on how to configure a Servizi BizTalk solution that receives a flat-file message from an FTP server, processes it through a bridge deployed under the Servizi BizTalk subscription on Microsoft Azure, and then inserts the message into an on-premises SQL Server database.

Fabrikam and Contoso are two business partners. Fabrikam (the retailer) sends sales order messages to Contoso (the supplier). Contoso maintains all the sales order data in table called Orders, which is housed in a SQL Server database within Contoso’s premises. Fabrikam sends flat-file messages to Contoso using an FTP server. Hence, Contoso has to implement a solution that enables the following:

  • Contoso must pull the flat file messages from the FTP server at which Fabrikam drops the sales order messages.

  • Contoso must process the message received from Fabrikam and map it to the message for inserting the sales order in its SQL Server database.

To enable this scenario, Contoso does the following:

  • Generates the schema of the flat-file message that it will receive from Fabrikam.

  • Configures an Bridge XML unidirezionale as part of the Progetto del servizio BizTalk to enable message validation and transformation. This bridge takes a flat-file message, validates it against the schema generated earlier, and then transforms it to the schema required to enter a message into the SQL Server database.

  • Uses Servizio Adapter BizTalk to connect to the on-premise SQL Server database from the Bridge XML unidirezionale deployed under the Servizi BizTalk subscription.

For instructions on how to prepare for the Servizi BizTalk scenario, see Uso di BizTalk Services SDK.

You can also look at the sample that is based on this tutorial. A sample (FTP_EAI_Tutorial) is available from the list of samples available at http://go.microsoft.com/fwlink/?LinkId=247973.

Vedere anche

Mostra:
© 2014 Microsoft