Biztalk training:- What are Adapters,Pipeline,Maps and ports ?( Interview questions)

Biztalk training:- What are Adapters,Pipeline,Maps and ports ?( Interview questions)


Today we will understand what are the different components in Biztalk? This video will not cover the indepth understanding of the different components but will make you familiar with those components and the terminologies that would help a developer to start coding in BizTalk BizTalk comprises of the following components Adapters, Pipelines, Schemas Maps, Orchestrations Ports MessageBox and Subscriptions Business Rule Engine MessageBox Subscriptions and Business Rule Engine we will not be talking about these in this particular video There will be upcoming videos which will discuss all of these components in detail Start with a first one Adapters When you hear the term Adapters, the fist question arises what is an Adapter? This glass table top stands on two glass curved legs The two glass curved legs have provided two edges for this glass table top to support The glass curved legs have provided end points on which the glass table top supports If my BizTalk server who wants to connect to these external applications which should have some end points That will help in fitting up connections to connect to this external system And these end points are called as adapters in BizTalk Adapters are end points that help in setting up connection to the external system Tomorrow if I want to connect to a sequel sever database I would expect BizTalk server to provide me endpoint that will help in setting up the connection string. Such as a sequel server name, database name, user id and the password Such an endpoint component that BizTalk provides your sequel adapter if I want to connect to a file system I want Biztalk to provide me an endpoint that will help in configuring the file location such as the file path Such adapter the Biztalk provides called as a File Adapter Sequel Adapter File adapter and the few other adapters which get installed on your machine when you install BizTalk Such adapters which BizTalk provides you when it gets installed is called as built in adapters What if I want to connect an SAP system I would definitely need an end point or an adapter that will help in setting up a SAP connection You won’t find any build in adapters or the same One of the other option is BizTalk provides you some .NET ABIs using those .NET APIs The developer can write code to set up connection to these systems And such a custom code and component is called as a custom adapter And one of those example is a SAP adapter which available in the market Adapters are end point that will help in making connections to an external system We talked about Built-In adapters and custom adapters Different adapters provide different connection mechanisms SQL adapter have to provide the user name, password Sequel server database name If it comes to file adapter You need to provide the file location Different adapters provide different connection mechanism The next component is Pipelines BizTalk internal users XML Anything or everything you give biztalk in XML its all ready to understand it and intereprete it Using adapters you will make connections The Sequel server database and the SAP system The data in these systems are in the form of rows and columns BizTalk understands XML I need a component which will transform this data the rows and columns data into XML format Pipelines help to transform the data from one format to XML format Also it helps in transforming from XML format to other format It helps both ways one format to excel format or from XML format to other format To do this job we have two pipelines One is Receive Pipeline and the other is Send Pipeline Receive Pipelines will help in transforming the incoming data into XML format The data is coming from the source into BizTalk We call it as incoming data Receive pipelines will help in transforming the incoming data into XML format Sent pipeline helps in transforming the outgoing data from XML format to other format in excel format or a text file format then send pipeline will help us in transforming the outgoing xml data to the expected format i.e the excel format or the text file format In addition to transforming data pipelines also helps in applying validations Encryption and Decryption of the data Pipelines help to transform the data from one format to XML format and vice-versa Receive pipeline transforms incoming data from other format to XML format, so that BizTalk understands it Some pipeline transforms outgoing data from XML format to other format as demanded by the external system What is a Schema? Data in these external systems are int he form of rows and columns in a table Data from these external systems are been fold by the adapters and then sent trough the pipelines The pipelines transform this data into XML format Within BizTalk we should have a pre-defined structure of this XML, any XML format will not help The data coming from these external systems you won’t know it is been placed within the XML format Within this you should have a predefined structure of this XML And this predefined structure of your data is called as Schema What is a Map? Adapters help into pulling the data from source external system When it passes to the pipeline gets transformed into XML format What will the maps do Maps help in performing operations on this data Such as string manipulation Mathematical calculation Filtering etc If I want to know the age of an employee based on his date of birth If I want to concatenate the first name and the last name of an employee If I want to filter some records based on some particular condition Such kind of operations which you want to do on the data you can do inside a map How would you use a Map? What is an Orchestration? Orchestration are the ones which help in executing business processes Adapters help in pooling the data from source external system This data gets transformed into XML format within a pipeline Maps help in performing some operations on this incoming data such as string operations or calculations etc After that comes the Orchestrations Within an Orchestration we will implement the condition based scenario If you recollect the previous video Where we talked about the inventory application If BizTalks are presenting the inventory application It send a response back to the asset management application saying the stocks are already there If the stocks are not there It sends a request to the purchasing application to raise a purchase order request A decision making scenario Such decision making scenarios need to be implemented within an Orchestration While the purchasing application sending out of purchase out of request to the supplier Based on this response of the supplier I want to make some decision I may or may not buy the product from that particular supplier A decision making scenario Whenever it comes to implementing the business processes you can implement them within an Orchestration there would be many more scenarios which you can or you will see in the forth coming videos How does Orchestration help you? Ports are the place where you configure your adapters pipelines, and maps The ports are receiving and from where the data is going to enter into BizTalk are called as the receive ports and the ports from where you are going to send the data out of BizTalk out to the target system is called as the set of ports Few things to note about the ports Lets understand the flow of data from the source to the destination system and the role of a different components in this whole life cycle If I want to develop communication between the source and the destination system within BizTalk at the receive ports. I’ll configure the adapter which will help me in making connections to these external systems and pull data from there Next comes the configuration of the receive pipelines which will transform this incoming data in excel format I may configure some Maps at the receive ports If I want to perform any transformations any calculation on the incoming data Was that is done within Orchestrations, I would implement some decision making scenarios or business processes After the data has been processed to the orchestrations It is now ready to be sent to the destination system At the sent ports will configure Maps If I want to perform any kind of transformation or conversion or mathematical calculation on the out going data I’ll have to configure Maps at the send ports The send pipeline which will transform the outgoing XML data into the expected format by the decision system that is excel format Flat file format or any other format The adapters which will help in making connection to the destination system And thus push the data to them in this whole life cycle BizTalk message box is a very important goal We will soon be discussing BizTalk message box in the upcoming videos

22 thoughts on “Biztalk training:- What are Adapters,Pipeline,Maps and ports ?( Interview questions)

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *