Basic Biztalk Xslt Interview Preparation Guide
Download PDF

Biztalk Xslt related Frequently Asked Questions by expert members with professional career as Biztalk Xslt. These list of interview questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts

30 Biztalk Xslt Questions and Answers:

Table of Contents:

Basic  Biztalk Xslt Job Interview Questions and Answers
Basic Biztalk Xslt Job Interview Questions and Answers

1 :: Tell me is there an error handling functionality to handle error on pipelines?

Yes. Error-handling functionality called error reporting which enables handling pipeline errors. Error reporting is specified on receive and send ports within the BizTalk Administration console.

2 :: Explain me what is the difference between a delay shape vs a listen shape?

A ‘Delay’ is very much similar to a sleep on the current thread. A ‘Listen’ shape is used to wait for an incoming resource, with a timeout period.

3 :: Do you know how to traverse through the repeating node the input file?

The XSL <xsl:for-each> element can be used to select every XML element of a specified node-set.

4 :: Tell us when you use Call Orchestration shape vs Start Orchestration shape?

A Call Orchestration returns the control back to the caller. A Start Orchestration shape starts the orchestration in a non-deterministic way.

5 :: Please explain what is binding files?

Binding files in BizTalk is an XML file that contains information of receive send ports there locations. It is usually used when you make a deployment. We make MSI separately without bindings.

6 :: Tell me can I use Custom XSLT inside a BizTalk mapper?

Yes, by making use of the scripting functoid.

7 :: What is retry?

A boolean value which specifies that the atomic transaction can be retried in the event of a failure. Perform the following for Retry-”throw an instance of Microsoft.XLANGs.BaseTypes.RetryTransactionException” within the transaction boundary.

8 :: Tell me is it possible to use the method from an assembly available in GAC?

It can be done using <msxsl:assembly> element and it has to be child of <msxsl:script>element.

9 :: Do you know what is Single Sign-On (SSO)?

Enterprise Single Sign-On (SSO) provides services to store and transmit encrypted user credentials across local and network boundaries, including domain boundaries. SSO stores the credentials in the SSO database. Because SSO provides a generic single sign-on solution, middleware applications and custom adapters can leverage SSO to securely store and transmit user credentials across the environment. End users do not have to remember different credentials for different applications.

10 :: Tell us is it possible to exclude xml declaration <?xml...?> in the ouptut file?

Yes. To exclude xml declaration, the attribute "omit-xml-declaration" is to be set as "yes."

11 :: Tell me where and how did you use Web Services in Orchestration?

We can use web services where we need to get data from multiple sources in one go. For e.g. getting price quote from 10 different vendors. You make one orchestration and use WS inside it.

12 :: Please explain what is Message routing and Content routing?

When a message is passed through BizTalk without being processed then it is called Message Routing. When a message is passed based on certain field value of schema, it is called content routing.

13 :: Explain me what is Muenchian method?

The Muenchian Method is an algorithm for grouping of data used in XSL Transformations that identifies keys in the results and then queries all nodes with that key. It can be applied with custom XSLT within a BizTalk Map.

14 :: Tell us what is debatching in BizTalk?

Recently I end up in a scenario where I need to debatch a message inside the orchestration to produce multiple messages based on XPATH

15 :: Tell us which version of XSLT is supported by the BizTalk mapper?

BizTalk Mapper supports XSLT 1.0. Using XSLT 2.0 in BizTalk Mapper is not supported

16 :: Tell us is it possible to have custom functions?

Yes, it can be done in script blocks which can be done using <msxsl:script> element.

17 :: Tell me are there different editions of BizTalk Server?

BizTalk Server 2002, 2004 2006 R2, 2009, 2010, 2013, 2013R2 and 2016.

18 :: Tell us what is the purpose of the property “Activate” in a Receive shape?

It is used to invoke a new instance of an Orchestration.

19 :: Explain me what are the communication patterns available in BizTalk?

Each port type has a communication pattern. The communication pattern determines whether one-way or two-way (request-response) transmissions can take place on ports of the given type.

20 :: Please explain what is BizTalk Pub-Sub architecture?

Fundamental to BizTalk is the Publish / Subscribe Architecture. This architecture basically comprises of 2 main components. First of all, a publisher, who would be responsible to publish the message in the message store. And secondly, a subscriber, who will subscribe to messages of a particular format so that he gets them whenever they are published.

Publishing refers to the process of inserting the messages in the message box database. Normally, a receive port, an orchestration or solicit send port would be involved in publishing any message to the message box. A receive port would receive the message from the pipeline and publish it to the message box for an orchestration or a send port to pick up.

An orchestration would publish the message usually while sending it using the send shape. A solicit response port would actually publish the message when it receives a response from the end system.

The subscribers would indicate the message they would like to receive by a set of criteria or filters.
Thereby, whenever a message is posted or published to the message box database, a subscriber will be able to get the message based on the filters or criteria mentioned while subscribing. The filters can be specified only on the promoted fields on the message.

21 :: Tell us does BizTalk automatically compensate an unsuccessful transaction?

☛ A Compensation section is generally written, in order to UNDO the effect of a transaction.
☛ The Compensation section for a scope gets activated only when the scope terminates normally or the scope completes its execution.
☛ Unlike exceptions, a compensation section can be written for a “Atomic” as well as a “L-R”
☛ A Compensation section needs to be explicitly invoked, using the Compensation Shape in order for it to execute.
☛ A Compensation section for a scope does NOT automatically undo the effect of a transaction. The compensation section must have the undo logic in place in order to have such an effect.
☛ A Compensation shape can be used to invoke/execute a compensation section. The control returns to the next operation after compensation shape, once the execution of the compensation section is complete.
☛ Is it possible to share variables across two branches in a Parallel shape
yes it is possible you just need to set the “Synchronized” property to true.

22 :: Explain why do we need convoy?

When a group of correlated messages could potentially be received at the same time, a race condition could occur in which a correlation set in a particular orchestration instance must be initialized by one of the messages before the other messages can be correlated to that orchestration instance. To ensure that all of the correlated messages will be received by the same orchestration instance, BizTalk detects the potential for such a race condition and treats these messages as a convoy.

Convoy is a term which we use to describe a class of application protocols, specifically it is a set of application protocols which have a race condition as described above. Let’s take an example. Say you are a hospital and want to have a service which handles all information about each patient. For a given patient you have three types of messages, an admittance message, status messages, and a discharge message.

If you look at your protocol, you will have built a service which just receives. Now let’s think about what could happen. Let’s say you send the patient admittance message and it goes through the system using maybe a synchronous protocol like HTTP. That means when you get the 202 back, you know the message has been delivered. But what if the BizTalkServer host which is actually supposed to process the message hasn’t started yet (i.e. the NT service is stopped). Maybe you had a power outage, maybe some intern decided to “hit this button”, who knows.

So the orchestration instance which is supposed to handle all messages for patient X has not physically started. The message is in the database (MessageBox) and if you look in HAT you will see the orchestration is marked as ready to run, but it can’t start cause there is nowhere for it to start.

23 :: Do you know what is XSLT?

XSLT or Extensible Stylesheet Language Transformations is a style sheet language for XML documents (stands for XSL Transformations), it defines the transformation rules of the messages.

24 :: Do you know what is BAM?

Business Activity Monitoring (BAM) is a collection of tools that allow you to manage aggregations, alerts, and profiles to monitor relevant business metrics (called Key Performance Indicators, or KPIs). It gives you end-to-end visibility into your business processes, providing accurate information about the status and results of various operations, processes, and transactions so you can address problem areas and resolve issues within your business.

The BAM Framework provides an easy, real-time, transaction-consistent way to monitor heterogeneous business applications, and to present data for SQL queries and aggregated reports (OLAP). Through queries and aggregations, you can include not only the data that is present during the running business process, but also the state and the dynamics of the running business process, independent of how the business is automated.

25 :: Tell us what are adapters? What do we need it?

Adapters can simply be termed as medium with which BizTalk communicates with other software, processes, and information together.
Biztalk Xslt Interview Questions and Answers
30 Biztalk Xslt Interview Questions and Answers