Share via


Set up the integration layer

 

Important

Microsoft Azure BizTalk Services (MABS) is being retired, and replaced with Azure Logic Apps. If you currently use MABS, then Move from BizTalk Services to Logic Appsprovides some guidance on moving your integration solutions to Logic Apps.

If you're brand new to Logic Apps, then we suggest getting started here:

The topics in this section demonstrate how to set up the core of the application, which is the integration layer. For this tutorial, let us assume that Contoso, Ltd. uses BizTalk Services and other Azure technologies to set up the integration layer and automate business transactions with its partners, such as Fourth Coffee. In this section, we perform the following steps to set up all the components of the integration layer:

  • Create an Azure storage account. Add three containers to that storage account, one each for:

    • Storing the purchase order message, which must be sent to Fourth Coffee before it is processed by the EDI send pipeline.

    • Storing the purchase order, which must be sent to Fourth Coffee after it is processed by the EDI send pipeline.

    • Storing the invoice received from Fourth Coffee.

  • Create a Visual Studio solution with two BizTalk Services projects. One BizTalk Services project receives the messages from the customer, transforms it to a purchase order (X12 850) EDI message processes it, and then routes it to an Azure blob. This application also inserts the purchase order data into a SQL Server database table.

    The other BizTalk Services project receives the X12 810 invoice message from Fourth Coffee, transforms it to a format expected by the Connected Car application, and then routes it to another Azure Blob. This application inserts the invoice data into a SQL Server database table and also sends out an e-mail to the customer with the order status.

    Note

    If you want to use the sample BizTalk Services project instead, you can download it from the MSDN code gallery at https://go.microsoft.com/fwlink/p/?LinkId=390148.

  • Using the BizTalk Services Portal, create and deploy an EDI agreement between Contoso, Ltd. and Fourth Coffee. The send-side of the agreement receives X12 850 purchase order message and routes it to an Azure blob. Fourth Coffee consumes the message from the blob.

    The receive-side of the agreement receives the X12 810 invoice (corresponding to the purchase order) from Fourth Coffee and routes it to the EAI bridge for processing invoice messages.

  • Create an Azure worker role that regularly polls the Azure blobs. This is required so that the original purchase order message that was routed to blob can be sent to the EDI send pipeline that is deployed as part of a trading partner agreement between Contoso, Ltd. and Fourth Coffee.

    Note

    If you want to use the sample project instead, you can download it from https://go.microsoft.com/fwlink/p/?LinkId=390152.

This section provides instructions on how to create these components that constitute the integration layer for the end-to-end scenario.

Prerequisites

In This Section

See Also

Using BizTalk Services from a Windows 8 Application