nerdexam
Microsoft

70-513 · Question #69

You are developing a Windows Communication Foundation (WCF) service that contains the following operation contract. [OperationContract] CustomerNames GetCustomerNames(); The operation returns…

The correct answer is A. [MessageContract(IsWrapped = false)]. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) service that contains the following operation contract. [OperationContract] CustomerNames GetCustomerNames(); The operation returns customer names. You need to develop a definition for the operation contract that produces XML with the following structure. Which code segment should you use?

Exhibit

70-513 question #69 exhibit

Options

  • A[MessageContract(IsWrapped = false)]
  • B[MessageContract(WrapperName = "")]
  • C[DataContract]
  • D[DataContract]

How the community answered

(42 responses)
  • A
    81% (34)
  • B
    7% (3)
  • C
    10% (4)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice