Biztalk Interview Questions and Answers
Question - 91 : - What Is The Difference Between A Document Schema And A Property Schema?
Answer - 91 : -
- A document schema is used to define a message. It is a definition on an Xml message with optional extensions for flat files, EDI file, etc that enable the parsers to convert the native format into Xml.
- A property schema is used to define message context properties. These can be of type MessageDataPropertyBase (the property value is promoted or demoted from/to the message itself) or MessageContextPropertyBase(property value only exists within the message context and can be set by adapters, pipelines or within orchestrations).
- If you wish to promote a field from a message into the message context then you need to define a document schema and property schema. In the document schema you promote the required field using the property schema to define the property type that will be used in the message context.
Question - 92 : - What Is Messagetype In Biztalk Server?
Answer - 92 : -
BizTalk sets a message context property called BTS.MessageType. This is a concatenation of the document namespace and Root Node Name in other words Message Type is a BizTalk System property that is promoted inside a Pipeline. It is made up of Document Name Space and Root Node Name.
Question - 93 : - What Is The Default Mapping For Auto Mapping?
Answer - 93 : -
The default mapping for Auto Mapping is is mapping by structure. This can be changed to by node name in the map properties.
Question - 94 : - What Is Biztalk Server?
Answer - 94 : -
- Biztalk is a messaging based integration tool. It consists of several tools like Business Processes (Orchestrations), Business Activity Monitoring (BAM), HAT (Health and Activity Tracking), Rules Engines, BizTalk Server Administrative Console etc.
- BizTalk Server 2006 R2 builds upon the Business Process Management and SOA/ESB capabilities and address core challenges found in key vertical industries such as manufacturing and retail. Native capabilities of BTS R2 include support for Electronic Data Interchange (EDI) and AS2 ,Windows Workflow Foundation, WCF as well as RFID.
- BizTalk server 2006 R2 application can be created using Visual Studio 2005 provided BizTalk Server SDK is installed into the system. A standard BizTalk Server application consists of Schema, Mapping, and Orchestrations.
- The heart of the BizTalk Server application is schema that is used to define the message format of source and destination data.
- BizTalk Server has capability to talk with any kind of legacy system as it only understand the plain text data (in the form of xml), in order to talk with different systems it has several inbuilt adapter like SQL Adapter, MSMQ Adapter, SMTP Adapter, File Adapter, SOAP Adapter etc
Question - 95 : - What is the difference between a Distinguished field and a Promoted Property?
Answer - 95 : -
- Distinguished fields are light weight and can only be used inside an Orchestration.
- Promoted Properties are defined inside a property schema, are tracking in SQL, can be tracked in HAT, and can be used for content based routing.
Question - 96 : - What is Property Promotion and why is it required?
Answer - 96 : -
- Biztalk provides you with a really smart routing feature that allows the engine to decide where to send which message. For example, If you receive a message with the EmployeePaySlip schema, and it has the approved flag to true, it should be redirected to the Finance system Orchestration for making the payments and to the HR system Orchestration for keeping the records. This built in intelligence for the Biztalk engine allows it to route the messages simply based on some content within the messages.
- To achieve this, the Biztalk engine obviously needs to understand the fields based on which the routing decisions can be taken. To simplify and optimize this working, Biztalk has introduced the notion of “promoted properties”. The Biztalk engine can get easy access to the promoted properties without knowing the entire message and hence it can save loads of time and complexity when dealing with routing. To route a message, the Biztalk engine simply reads its promoted properties and does not care about other contents in the message.
Question - 97 : - Can an envelope schema consist of more than one schema type?
Answer - 97 : -
- Yes. XML envelopes serve two purposes within XML instance messages sent and received by Microsoft BizTalk Server:
- XML envelopes can contain data that supplements the data within the XMLdocuments. This data can be promoted into the message context by the XML disassembler to provide easier access from a variety of BizTalk Server components. For outbound XML instance messages, the XML assembler can demote values from the message context into an envelope for inclusion in the instance message transmission.
- XML envelopes can be used to combine multiple XML documents into a single, valid XML instance message. Without an envelope to wrap multiple documents within a single root tag, an XML instance message containing multiple documentswould not qualify as well-formed XML.
Question - 98 : - What is the difference between static, dynamic and direct binding?
Answer - 98 : -
- Static binding specifies port address,
- Dynamic gives address of the port at runtime,
- Direct binding sends messages to messagebox.
Question - 99 : - What is atomic Transaction?
Answer - 99 : -
- It follows full ACID properties Atomicity, Consistency, Isolation and Durability. If you require full ACID properties on the data—for example, when the data must be isolated from other transactions—you must use atomic transactions exclusively.
- When an atomic transaction fails, all states are reset as if the orchestration instance never entered the scope.
Question - 100 : - What is long running transaction?
Answer - 100 : -
Long running transaction support CD properties of ACID. It is not practical to lock transaction for a long time. This transaction can run indefinitely and can be dehydrated also.