This presentation is from the Integration Day event, a TechMeet360 Community Initiative, held on September 10, 2016 at Microsoft GSTC in Bangalore. In this slide, Microsoft's Technical Support Engineer Shailesh Agre gives a brief introduction on "BizTalk & Hybrid Integration" and also, discusses on BizTalk Connectors with Logic Apps and Microsoft Azure BizTalk Services.
This session also includes the following demos
Demo 1: MABS Overview and B2B Sample Scenario with MABS
Demo 2: Using SQL connector with the Logic Apps
Demo 3: Connecting to Logic Apps from on-premise BizTalk server
2. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• Microsoft BizTalk Azure Service
• Various Editions and Pricing
• Service Creation and registration
• Development – EAI and B2B
• Administration
• Enterprise Integration Pack
• Integration Account
• EAI and EDI scenarios
• Microsoft SQL Connector
• Connecting to on premise SQL server
• BizTalk 2016 LogicApp Adapter
• Connect to LogicApp from on premise BizTalk Server 2016
2
3. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
FREE (PREVIEW) DEVELOPER BASIC STANDARD PREMIUM
Default minimum configuration 1 Free Unit 1 Developer Unit 1 Basic Unit 1 Standard Unit 1 Premium Unit
Scale No Scale No Scale Yes, in increments of
1 Basic unit
Yes, in increments of
1 Standard unit
Yes, in increments of
1 Premium unit
Maximum allowed scale out No Scale No Scale Up to 8 Units Up to 8 Units Up to 8 Units
EAI Bridges per unit Not included 25 25 125 500
EDI, AS2
Includes TPM agreements
Not included Included. 10
agreements per unit.
Included. 50
agreements per unit.
Included. 250
agreements per unit.
Included. 1000
agreements per unit.
Hybrid Connections per unit 5 5 10 50 100
Hybrid Connection Data Transfer (GB) per Unit 5 5 50 250 500
BizTalk Adapter Service connections to on-
premises LOB systems
Not included 1 connection 2 connections 5 connections 25 connections
3
Microsoft Azure BizTalk Services : PaaS
4. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
FREE (PREVIEW) DEVELOPER BASIC STANDARD PREMIUM
Supported protocols/Systems:
HTTP / HTTPS / FTP /SFTP /WCF / Service Bus (SB) /
Azure Blob / REST APIs
Not included Included Included Included Included
High availability Not included Not included Included Included Included
Backup and restore Not included Included Included Included Included
Tracking Not included Included Included Included Included
Archiving
Includes Non-repudiation of Receipt (NRR) and
downloading tracked messages
Not included Included Not Included Not Included Included
Use of custom code Not included Included Included Included Included
Use of transforms, including custom XSLT Not included Included Included Included Included
4
Microsoft Azure BizTalk Services : PaaS
5. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
PRICING FREE
(PREVIEW)
DEVELOPER BASIC STANDARD PREMIUM
Price Free $0.09/hr
(~$67/mo)
$0.48/hr
(~$357/mo)
$2.93/hour
per unit
(~$2,180/mo)
$5.86/hour
per unit
(~$4,360/mo)
Scale Out N/A N/A Yes, in increments of 1
Basic Unit
Yes, in increments of 1
Standard Unit
Yes, in increments of 1
Premium Unit
Scale Limit N/A N/A Up to 8 units Up to 8 units Up to 8 units
EAI Bridges per Unit -- 25 25 125 500
EDI Agreements per
Unit
-- 10 50 250 1,000
Hybrid Connections 1
per Unit
5 5 10 50 100
Hybrid Connection
Data Transfer (GBs)
per Unit
5 5 50 250 500
Number of
connections using
BizTalk Adapter
Service 2 per Unit
-- 1 2 5 25
Archiving -- -- --
High Availability 3 -- -- 5
7. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• Register the service
• If required update the SSL certificate
• Download the certificate and add to the certificate store on the
development box
• Download Windows Azure BizTalk Services Setup and install on
the development box
7
Post Service Creation
8. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• Developer SDK
The Developer SDK is required to develop Windows Azure BizTalk Services applications using Microsoft Visual
Studio.
• Tools
The Windows Azure BizTalk Services Tools installs the PowerShell extensions for managing Windows Azure
BizTalk Service and BizTalk Adapter Service.
• Runtime
The BizTalk Adapter Service Runtime is required to connect to an on-premise Line of Business Application from a
Windows Azure BizTalk Services application
8
9. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• Source is from where you want to receive the message (equivalent to Receive Port in BizTalk on
premise)
• Destination is where you want to send the message (equivalent to Send Port in BizTalk on premise)
• Bridge connects Source and Destination and provides various stages to modify, transform, enrich
the message (equivalent to Pipeline in the BizTalk on premise)
• Following type of sources, bridges and destinations are available. Sources and Destinations have
typical properties to be set as part of their configuration.
Note that currently only XML type bridge can be used for two way operations.
9
10. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
1. BizTalk Service Explorer
This is easy to use yet very powerful tool (VS Server Explorer Plug-in) especially for the developers.
Download it from here or follow this TechNet Wiki "Azure BizTalk Service Explorer" to add it from Visual Studio Gallery
within VS.
2. Message Sender
This tool came as a part of Windows Azure BizTalk Services SDK Samples – Windows Azure BizTalk Services EAI Sample
Tools – Message Sender.
This is stand-alone executable – after downloading the sample you can compile the project and use the following
command line syntax to push messages.
MessageSender.exe <ACSNamespace> <IssuerName> <Issuerkey> <RuntimeAddress> <MessageFilepath> <ContentType>
3. Using on premise BizTalk Server
Open BizTalk Admin Console and under the “Send Ports” section create a new WCF-WebHttp Send Port.
Click on Configure. On General tab, provide the bridge URI.
On the Security tab, check the check box “Use ACS service identity” and click on Edit and then provide ACS information.
Click on “OK”s to complete the send port configuration. Now either use content based routing or orchestration to send the
message using this send port.
10
Testing Messages
14. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
Description Low Threshold High Threshold
Memory
% of total system
memory
available/PageFileBytes
Total available
PageFileBytes is
approximately 2 times
the RAM of the system.
60% 70%
Message Processing
Number of messages
processing
simultaneously
40 * number of cores 100 * number of cores
14
Throttling
15. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• When Azure BizTalk Services enters a throttling state, the following occurs:
Throttling is per role instance. For example:RoleInstanceA is throttling. RoleInstanceB
is not throttling. In this situation, messages in RoleInstanceB are processed as
expected. Messages in RoleInstanceA are discarded and fail with the following error:
Server is busy. Please try again.
• Any pull sources do not poll or download a message.
For example:
A pipeline pulls messages from an external FTP source. The role instance doing the
pull gets into a throttling state. In this situation, the pipeline stops downloading
additional messages until the role instance stops throttling.
• A response is sent to the client so the client can resubmit the message.
• You must wait until the throttling is resolved. Specifically, you must wait until the low
threshold is reached.
• Throttling cannot be disabled.
• Throttling thresholds cannot be modified.
15
Throttling - Runtime behaviour
19. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
PowerShell REST API
• Get-AzureBizTalkBridge
• Remove-AzureBizTalkBridge
• Add-AzureBizTalkArtifactXmlSchema
• Add-AzureBizTalkArtifactTransform
• Add-AzureBizTalkArtifactAssembly
• Add-AzureBizTalkArtifactCertificate
• Get-AzureBizTalkArtifact
• Save-AzureBizTalkArtifact
• Remove-AzureBizTalkArtifact
• Start-AzureBizTalkBridgeSource
• Stop-AzureBizTalkBridgeSource
• Get-AzureBizTalkBridgeSource
• Restart-AzureBizTalkService
• Clear-AzureBizTalkTrackingStore
• Register BizTalk Service
• Create or Update a BizTalk Service
• Get Cloud Service
• Get Cloud Services
• Get BizTalk Service Properties
• Suspend BizTalk Service
• Resume BizTalk Service
• Restart BizTalk Service
• Poll on an Async Operation on
BizTalk Service
• Sync Access Control Keys
• Delete BizTalk Service
• Backup BizTalk Service
• Restore Azure BizTalk Service from
Backup
19
Management
20. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• Samples: Azure BizTalk Services
• Tutorial: Configuring B2B Messaging Using BizTalk Services Portal and
Bridges
• Tutorial: Using BizTalk Bridges to Insert Flat File Messages into an On-
premises SQL Server
• Tutorial: Using BizTalk Service Bridges to Send and Receive Messages from
Service Bus Relay Service
• Tutorial: Using Azure BizTalk Services to Integrate with an On-Premises SAP
Server
• Tutorial: Using BizTalk Service Bridges to Lookup Data from Azure SQL
Database
• Using BizTalk Services from a Windows 8 Application
• Tutorial: Process EDIFACT Invoices Using Azure BizTalk Services
20
Tutorials and Samples
21. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
21
Enterprise Integration Pack
• What is the Enterprise Integration Pack?
AS2, X12 and EDI Messaging between messaging partners.
• Integration Account
A container - that store all the artifacts that can be used to design, deploy, and maintain your B2B
apps.
• What you need?
• An Azure subscription with an integration account
• Visual Studio 2015 to create maps and schemas
• Microsoft Azure Logic Apps Enterprise Integration Tools for Visual Studio 2015 2.0
24. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
Azure Logic Apps - VETER Pipeline This template creates a VETER
pipeline using Logic Apps. It creates an integration account, adds
schema/map into it, creates a logic app and associates it with the
integration account. The logic app implements a VETER pipeline using
Xml Validation, XPath Extract and Transform Xml operations.
Azure Logic Apps - AS2 Send Receive This template demonstrates AS2
Send Receive using Logic Apps. It creates Integration Accounts for two
partners (Contoso and Fabrikam) and adds Partners and Agreements
into them. It creates Logic Apps between Fabrikam Sales and Contoso
which demonstrate Sync AS2 Send Receive. It also creates Logic Apps
between Fabrikam Finance and Contoso which demonstrate ASync AS2
Send Receive.
24
Azure Logic Apps Templates
25. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
25
Microsoft SQL Connector
• Install the on-premises data gateway for Logic Apps
• Create an Azure on-premises data gateway resource
• Create a logic app connection in the designer
28. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
• On-premises data gateway service – PBIEgwService
• C:UserssagreAppDataLocalMicrosoftOn-premises data gateway
• You can verify whether your firewall, or proxy, may be blocking
connections by running the following command from a PowerShell
prompt.
Test-NetConnection -ComputerName watchdog.servicebus.windows.net -Port 9350
28
Check the connectivity
31. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
31
Download BizTalk 2016 CTP
BizTalk 2016 LogicApp Adapter
For the LogicApp to be able to receive messages from BizTalk, it must have a
Manual trigger.
32. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
32
In the BizTalk Administration Console, create a new Send
Port of Type: LogicApp, and click Configure…
33. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
33
Configure the Callback URI of your LogicApp trigger.
You can get this from the LogicApp designer surface
34. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
34
Click Configure…, Sign-in to Azure with your Microsoft
account when prompted, and select your Subscription,
Resource Group, Logic App, and Trigger.
35. INTEGRATION DAY
MICROSOFT GTSC, Bengaluru September 10, 2016
35
Click Configure…, Sign-in to Azure with your Microsoft
account when prompted, and select your Subscription,
Resource Group, Logic App, and Trigger.