What should you do?

You work as a Microsoft BizTalk Server 2006 Architect at Domain.com. Domain.com has a partner named Testlabs.com. You constructed a schema for input messages from TestLabs.com. The schema contains a node named ‘Phone’. You obtains sample input file from TestLabs.com in a standard XML file format named tl_sample.xml to test your schema. During testing, you discover that not all records in the tl_sample.xml file have a ‘Phone’ node. You need to configure your schema to make allowance for this.

What should you do?

You work as a Microsoft BizTalk Server 2006 Architect at Domain.com. Domain.com has a partner named Testlabs.com. You constructed a schema for input messages from TestLabs.com. The schema contains a node named ‘Phone’. You obtains sample input file from TestLabs.com in a standard XML file format named tl_sample.xml to test your schema. During testing, you discover that not all records in the tl_sample.xml file have a ‘Phone’ node. You need to configure your schema to make allowance for this.

What should you do?

A.
Set the MaxOccurs property on the schema node to 1.

B.
Set the MaxOccurs property on the Phone node to 1.

C.
Set the MinOccurs property on the schema node to 0.

D.
Set the MinOccurs property on the Phone node to 0.

Explanation:
You must set the MinOccurs property of the node to 0 to indicate that the element corresponding to the node need not occur in all instance messages.

Incorrect Answers:
A, C: The schema node does not support a MaxOccurs or MinOccurs property.
B: The MaxOccurs property indicates that the element corresponding to the node cannot occur more than the specified number of times in an instance message. However, you must set the MinOccurs property of the node to 0 to indicate that the element corresponding to the node need not occur in all instance messages.



Leave a Reply 0

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