So far, we have looked at how anyone can get started with Logic Apps to build a standard workflow using Logic Apps in Azure. We also discussed how we can automate business process spanning across cloud and on premises in Logic Apps using on-premises data connector. All these we have achieved without any real client-side development.
Now in this chapter, we will build enterprise workflow using Enterprise Integration Pack for Logic Apps. We will also explore an Enterprise Integration Tool, which basically adds an integration project type to Visual Studio, and let you create XML schemas, Flat File Schemas, and maps to build an EAI /B2B integration solution.
This chapter introduces the following topics:
It is a cloud-based solution to develop Enterprise Integration workflows:
The pack uses industry standard protocols, including AS2 (https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-as2), X12 (https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-x12), and EDIFACT (https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-enterprise-integration-edifact/), to exchange messages between business partners. Messages can be optionally secured using both encryption and digital signatures.
Architecturally, the Enterprise Integration Pack is based on integration accounts, which is a container that stores the various artifacts you need for more complex business process workflow such as trading partner agreements, schemas for XML validation, and maps for transformation.
So currently, integration account can hold the following integration artifacts used for Enterprise Integration scenarios:
Certificates are just electronic documents that contains a public key. These certificates are digitally signed by a trusted certificate authority (https://en.wikipedia.org/wiki/Certificate_authority) and the signature binds owner's identity to the public key.
It is essential to create an integration account for a Logic App to use EAI and B2B capabilities. To create an integration account, log in to Azure portal and go to New | Enterprise Integration, as here:
Now enter the Name for the integration account and select the Subscription, Resource group, and Location, as shown here. Click on the Create button.
This is how the overview of the enterprise account created earlier look like.
The earlier-mentioned artifacts can be used in Logic Apps to build Enterprise Integration workflows with EAI and B2B capabilities. We need to link the integration account to Logic App to use the artifacts stored in integration account. We will see how to link the integration account to Logic App in the later section.