1. Tell us what is the purpose of a document schema?

The schema is basically a contract of your message and defines it. The XML Schema definition (XSD) language defines the structure of an XML instance message, and this is the intended purpose of XSD, such schemas use XSD in a straightforward way.

A schema is a term borrowed from the database world to describe the structure of data in relational tables. In the context of XML, a schema describes a model for a whole class of documents.

2. Tell me what is the target namespace for schema?

Target Namespace is to schema what a namespace is to .Net Object and root node as a class name.

3. Tell us what is BlockDefault property used for?

Use the BlockDefault property to prevent or restrict the types of derivations that can be used in instance messages for all data types defined by the schema being edited.

4. Please explain what is the Message?

Each message in BizTalk Server is considered a multi-part message and is made up of zero or more parts. Each message with one or more parts has one of these parts identified as the body part. Each part consists of a binary chunk of data which can represent an XML document, a flat file, a serialized .NET class, or other binary stream of data. You use the body part of the message to identify the type of the message that can be used for routing.

5. Tell me is it possible to promote XML record of ComplexContent?

No. To promote XML record its ContentType property should be set SimpleContent.

6. Explain me how BizTalk engine performs a validation of an instance of the message against the Schema?

By default, BizTalk Server will examine only the namespace and the root node name of a message to identify and validate the schema, and will not detect extra elements in the message body. To perform a deep validation of a message format, you have to create a Custom Pipeline with the XML Disassembler component.

7. Tell me what is the difference between XSD and DTD? Difference between XSD and DTD are listed below:

☛ XSD are written in XML.
☛ XSD support data types.
☛ XSD support namespaces.
☛ XSD is extensible to future additions.
☛ XSD is richer and more powerful than DTDs.

8. What is group Min Occurs?

Specifies the minimum number of times that the underlying group content of the selected All Group node can occur.

9. What is min Occurs?

Specifies the minimum number of times that the element corresponding to the selected Record node can occur.

10. What is group Max Occurs?

Specifies the maximum number of times that to the underlying group content of the selected All Group node can occur.

Download Interview PDF

11. What is max Occurs?

Specifies the maximum number of times that the element corresponding to the selected Record node can occur.

12. Tell us does BizTalk support synchronous communication?

BizTalk Server architecture is asynchronous for scalability reasons. However, the architecture of the BizTalk Messaging Engine enables exposing a synchronous message exchange pattern on top of these asynchronous exchanges. To do this, the engine handles the complex task of correlating the request and response messages across a scaled-out architecture by linking together a number of asynchronous message exchanges to expose a synchronous interface.

14. Do you know which property is only available for the flat file schema?

Custom Date/time property is only available for flat file schema.

15. Explain me what is a canonical schema?

A canonical schema is a design pattern, which is applied within a service oriented paradigm, and within BizTalk server context establish the loose coupling between systems. Through performing the transformation of messages from one system to canonical schema and from the canonical schema to message of another system, systems have no direct relation with each other. The canonical schema can also be viewed as an internal schema in BizTalk and aid you in structuring your solution through best practice of creating separate projects for maps, orchestrations, internal and external schemas. Another advantage of using a canonical schema is that it reduces the number of transformations you need. If you need a to map a few types of inbound message coming from different parties to a few outbound messages, you can create a map to your canonical schema for each inbound schema and then a map from your canonical schema to each outbound schema. If for example you have three types of incoming that needs to be mapped to three types of outgoing messages you will only need to build and maintain six maps instead of nine.

16. Explain me can schema have multiple root nodes?

Yes, a schema (XSD) can have multiple root nodes. In case you have a schema with multiple root nodes you will end up with multiple message types declared in BizTalk, one for every root node. So when you want to create a message you will need to specify exactly which message type you are going to use!

17. Tell us what is the purpose of an envelope schema?

An envelope schema is a special type of XML schema. Envelope schemas are used to define the structure of XML envelopes, which are used to wrap one or more XML business documents into a single XML instance message. When you define an XML schema to be an envelope schema, a couple of additional property settings are required, depending on such factors as whether there is more than one root record defined in the envelope schema.

19. Tell me can we have schema without a target namespace? What will be its MessageType?

Yes, we can have a schema without target namespace and it's message type will be the Root node.

21. Tell us does BizTalk add any namespaces when creating schema?

Yes. http://schemas.microsoft.com/BizTalk/2003 and http://www.w3.org/2001/XMLSchema are added by BizTalk when creating a schema.

22. Tell us what is Rehydration?

When a message is received, or else when a timeout has expired, the orchestration engine can be automatically triggered to rehydrate the instance – it is at this point that the orchestration engine loads the saved instance of the orchestration into memory, restores the state, and runs it's from the point it left off.

23. Explain what is atomic Transaction?

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.

24. Tell us what is Dehydration?

When an orchestration has been idle for a while, the orchestration engine will save the state information of the instance and free up memory resources.

Download Interview PDF

25. Do you know what is the purpose of a Flat File schema?

A flat file schema defines the structure of a class of instance messages that use a flat file format, either delimited or positional or some combination thereof. Because the native semantic capabilities of XSD do not accommodate all of the requirements for defining the structure of flat file instance messages-such as the various types of delimiters that might be used for different records and fields within the flat file. BizTalk Server uses the annotation capabilities of XSD to store this extra information within an XSD schema. BizTalk Server defines a rich set of specific annotation tags that can be used to store all of the required additional information.