Welcome to the Microsoft BizTalk Server tutorial. As organizations are leading towards service-oriented, it is essential to connect different systems. Biztalk helps in managing business processes across different systems. This tutorial entails all the topics that are related to BizTalk. Keep reading through the below tutorial to gain knowledge and get started on working with BizTalk.
Microsoft BizTalk Server is a business process management tool. It provides a mechanism to map input and outputs of various systems used for exchanging documents like invoices, purchase orders between enterprises. It enables the integration of business processes and manages the exchange of business documents such as invoices, purchase orders, etc.
EDIFACT, X12, and RosettaNet are the EDI formats that BizTalk supports. It also provides adapters for establishing connections between different systems. It includes automation capabilities of XML and Web Services technologies.
BizTalk is a popular application server released in the year 2000. The last stable version 'BizTalk Server 2020' has released on January 15th, 2020. BizTalk underwent constant improvements for the past 20 years for providing a robust architecture that one can easily use. Companies that use BizTalk are J & D RESOURCES INC, Your Housing Group, Client First Settlement Funding LLC, etc.
BizTalk has built on a publish-subscribe architecture. The following are the components of the BizTalk architecture.
It is a grouping of similar receive locations used for receiving messages. receive ports can be of two types - receive only and receive response port
It provides connectivity to send messages in and out of BizTalk. The standards used in this mechanism are SMTP, POP3, FTP, or Microsoft Message Queuing (MSMQ). BizTalk provides a set of native adapters. We can also create custom adapters using the BizTalk Adapter Framework.
Receives an input message and produces zero or more messages on output. It can split messages into individual documents. It normalizes schema through XML.
Message Box database
A Message Box database is for publishing messages to it so the subscribers can consume them. It stores the tracking information along with subscriptions. It will deliver the messages to services that match the subscriptions.
If you want to Enrich your career with a BizTalk Server certified professional.Then visit hkrtrainings and get “BizTalk Server Course” free demo
Consume the messages that are present in the Message Box database. Subscribers use subscriptions for defining the properties of the messages. So the subscribers pull the messages that match the features that they require.
It was used for executing XLANG/s files that are produced by BizTalk Orchestration Designer. Orchestration processes internal messages for republishing to the Message Box database.
It consumes the XML messages and converts them to wire messages. Send port is a location to which messages have been sent from BizTalk Server (or) from which the BizTalk Server receives the messages.
Here is the architectural overview of the flow of a message in BizTalk Server.
A message has been received to a port through the receive location. A receive location is the entry point for a message. An adapter will be used to transport the message to the receive location. A pipeline is executed to process the message, i.e. encrypt or decrypt, and then the message will be sent to the Message Box database. Persistence and routing mechanism takes place here.
The Message Box database will check for active subscriptions and routes the message to those orchestrations. The Orchestration then checks if the orchestration instance is in an active state or not. If it's in a dehydrated state, it will rehydrate it. The message will be processed and routed to the send ports through the Message Box database.
If the message contains envelope properties, i.e. direct send location, the message will directly be sent to the send ports instead of transferring through Orchestration. This process is called content-based routing.
Check out here for frequently asked Biztalk interview questions & answers
Microsoft BizTalk Server can only install on a Windows operating system. BizTalk server 2020 is available to download from your Visual studio subscription (MSDN). Run the downloaded file as an administrator. The installation wizard will open. Click on 'Install Microsoft BizTalk Server 2020'.
It will ask you to fill the details like user name, organization, and product key. Fill the details and click on 'Next'. Accept the license agreement and click on 'Next'. And then it will show the list of components. Choose the ones that you want to install. You will have an option to change the installation location if you wish. Click on 'Next'. Then you will get a summary of the components that have been selected in previous steps. If everything is fine, click on 'Install'.
Install BizTalk Server extension in Visual Studio for completing Developer Tools component installation. Once the installation has finished, click on 'Finish' to complete the process.
Orchestrations can define as executable business processes that can receive and send messages through the Message Box database. Messages are received using the subscription through the routing mechanism. In case the subscriptions in the orchestration are all filled, a new instance will be activated, and messages will be sent to that instance.
Orchestration can construct new messages. The newly built messages will be placed in the Message Box database. The persistence of these messages will be coordinated by the persistence points in the orchestration.
In an orchestration, multiple instances might run simultaneously. So it uses correlation to relate messages to a running orchestration instance by defining correlation sets. It consists of promoted properties that are needed to compare messages. The orchestration engine extracts these properties from the message and then describes subscriptions based on these values.
Pipelines are used by developers to define a sequence of transformations on the messages. Specific alterations might be needed to perform on the messages while receiving or sending them to prepare them to enter or exit from BizTalk Server.
Schemas in BizTalk
The structure of a message in the BizTalk Server is defined using the XML Schema definition (XSD) language. So the description of the message structure is referred to as schema. The following are the four types of schemas supported by the BizTalk Server.
It uses the XML Schema definition (XSD) for defining the structure of a class of XML instance messages. BizTalk uses XML for representing business documents.
Flat file schema
It defines the structure of a class of instance messages that use a flat-file format. Because the native XSD does not support flat file instance messages. Annotation capabilities of XSD have been used to store extra information in an XSD schema. BizTalk Server defines a specific set of annotation tags that can be used to store this information.
It is a type of XML schema that defines the structure of XML envelopes. These XML envelopes have been used to wrap one or more XML documents into a single XML instance message.
It is used for property promotion. It is the process of copying specific values that are deep within an instant message. The copied values will be stored in the message context. So the BizTalk Server components will be able to access these messages easily.
Here are some of the differences that have identified between BizTalk Server and Kafka tools,
Batch starts on 2nd Oct 2022, Weekend batch
Batch starts on 6th Oct 2022, Weekday batch
Batch starts on 10th Oct 2022, Weekday batch