Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Robust Cloud Integration with Azure

You're reading from  Robust Cloud Integration with Azure

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781786465573
Pages 696 pages
Edition 1st Edition
Languages
Authors (6):
Gyanendra Kumar Gautam Gyanendra Kumar Gautam
Ashish Bhambhani Ashish Bhambhani
Profile icon Ashish Bhambhani
Abhishek Kumar Abhishek Kumar
Profile icon Abhishek Kumar
James Corbould James Corbould
Profile icon James Corbould
Mahindra Morar Mahindra Morar
Profile icon Mahindra Morar
Martin Abbott Martin Abbott
Profile icon Martin Abbott
View More author details

Table of Contents (23) Chapters

Robust Cloud Integration with Azure
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. An Introduction to Systems Integration in the Cloud 2. What Is an Azure App Service? 3. Getting Started with API Apps 4. What is Azure API Management? 5. Trigger Your First Logic App in Azure 6. Working with Connectors in Logic Apps 7. Azure Functions in Logic Apps 8. A Deep Dive into Logic Apps 9. Powerful Integration with SaaS Using Logic Apps 10. Advanced Integration with Powerful, Scalable Service Bus in the Cloud 11. Connecting to Event Hubs and an Introduction to IoT Hubs 12. EAI/B2B Integration Using Logic Apps 13. Hybrid Integration Using BizTalk Server 2016 and Logic Apps 14. Tooling and Monitoring for Logic Apps 15. Whats Next for Azure Integration?

Chapter 12. EAI/B2B Integration Using Logic Apps

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:

  • What is the Enterprise Integration Pack?

  • An Enterprise Integration Tool for Visual Studio 2015

  • Enterprise Integration Pack connectors

  • How to build the EAI/B2B app using the Enterprise Integration Pack in Logic Apps

Enterprise Integration Pack for Logic Apps


It is a cloud-based solution to develop Enterprise Integration workflows:

  • EAI: Enterprise Application Integration

  • B2B: Business-to-Business communication

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...

Enterprise messaging in Logic Apps


The Enterprise Messaging in Logic App have the following features:

  • Flexibility in content types: Logic Apps are flexible enough to support different content types, such as binary, JSON, XML, and primitives. Now you can receive different message types in Logic Apps and then convert them to JSON or XML format required for the downstream systems. We also have new BizTalk connectors, which can be used to push the message to the on-premise BizTalk server. More about BizTalk connectivity is explained in the next chapter.

    The Enterprise Integration pack provides XSD support in Logic Apps. So, you can upload your XML schemas to integration account and use them in Logic App workflow and further convert them to the binary or JSON format as per your requirement.

  • Mapping: Now you can also create XSLT-based map in Visual Studio and use them in Logic App workflows. You can also leverage your existing assets-schema and maps by uploading them to integration account and...

Enterprise Integration Pack connectors


The integration pack connectors enable you to easily validate, transform and process different messages that you exchange with different applications within your enterprise (EAI) or with your business partners (B2B).

  • XML validation: You can use the XML validation connector to validate documents against a predefined schema.

  • XML transformation: It primarily converts data from one format to another format. For example, you may have incoming message that contains FirstName, MiddleName, and LastName fields and you need to transform to a destination message which only contains Name field. These kind of manipulation can be done using built-in functions. You can use different built-in functions to help manipulate or control the data, including string manipulations, conditional assignments, arithmetic expressions, date time formatters, and even looping constructs.

  • Flat file encode and Flat file decode: The Flat file encoding/Flat file decoding connectors provide...

Add partners in your workflow


Partners are the key stakeholders who participate in B2B (business-to-business) transactions by exchanging messages. Before creating partners within an Enterprise Integration Account, you and your partner need to identify the protocol and messaging format used to make communication through an agreement. To create the agreement, one organization needs to act as a host partner and other will act as a guest partner. To learn more about partners and the agreement, you can refer to Microsoft documentation for the Enterprise Integration pack at https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-partners.

In the following section, we will walk through the process of creating the partner and agreement within the Enterprise Integration Account, which we have created in the preceding section.

Creating a partner within the Integration Account

To create a partner, we will perform the following steps:

  1. Select the Integration Account within which...

Store custom metadata information in Integration Accounts artifacts


With Enterprise Integration Pack, it is very much easy to add and retrieve custom metadata information within Enterprise Integration artifacts. For example, you can add metadata information for artifacts such as partners, schema, maps, and agreement. The next steps describe how you can easily add metadata information and retrieve it within the logic apps workflow.

Add Metadata information to Integration Account artifacts

In this walkthrough, we will go step by step to add metadata information in the uploaded schema. You can follow the same steps to add the custom metadata properties to other components such as partners, agreements, or maps.

Summary


In this chapter, we explored Enterprise Application Pack for Logic Apps. We started with the concept of integration account and then how to create enterprise artifacts using an Enterprise Integration Tool.

We discussed about Enterprise Integration Pack connectors and finally developed an EAI messaging scenario from the scratch by creation schemas and map in Visual studio and using them in Logic App workflow.

In next chapter we will explore the tooling and monitoring of Logic App workflows.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Robust Cloud Integration with Azure
Published in: Mar 2017 Publisher: Packt ISBN-13: 9781786465573
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}