You work as a Microsoft BizTalk Server 2006 Developer for Domain.com. The development of Integration applications is your responsibility at Domain.com. Domain.com works in a joint venture with another company named Labs.com. You received instruction to create a new envelope schema based on a message schema provided by Labs.com.
The Lab.com’s schema represents an OrderHeader and one or more OrderDetail records. One requirement for the new envelope schema that you must create is that you must ensure that it can act as an envelope for the schema provided. You thus need to meet this requirement.
What should you do? (Each correct answer presents part of the solution. Choose TWO.)
A.
Set the Container property of the partner schema’s root node to the namespace of your envelope schema.
B.
Set the Envelope property of the Schema node to True.
C.
Set the Envelope property of the Schema node to Yes.
D.
Set the Container property of the Schema node to Yes.
E.
Set the Contains property of your envelope schema to the namespace of your partner’s schema.
F.
Then point the envelope’s Body XPath to the parent node that contains only the <any> child element.
G.
Then point the envelope’s Body XPath to the Schema node.
Explanation:
If you want to define a schema as an envelope, you simply set the Envelope property of the Schema node on the schema in question to a value of Yes.
Also, you should point the envelope’s Body XPath to the parent node that has only the <any> child element under it because if the parent node contains any other elements, the XML Assembler is unable to use the envelope.Incorrect Answers:
A: There are no Container properties on any node of a schema.
B: The Envelope property takes Yes/No values, not Boolean values.
D: There are no Container properties on any node of a schema.
E: There are no Contains properties on any node of a schema.
G: When defining an envelope schema you should point the envelope’s Body XPath to the parent node that has only the <any> child element under it.