nerdexam
Microsoft

70-513 · Question #235

You are developing a Windows Communication Foundation (WCF) service that contains the following operation contract. <OperationContract()> Function GetCustomerNames() As CustomerNames The operation…

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()> Function GetCustomerNames() As CustomerNames 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 #235 exhibit

Options

  • A<MessageContract(IsWrapped:=False)>
  • B<MessageBodyMember()>
  • C<MessageContract(WrapperName:="")>
  • D<MessageBodyMember()>
  • E<DataContract()>
  • F<DataContract()>

How the community answered

(23 responses)
  • A
    83% (19)
  • C
    4% (1)
  • D
    9% (2)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice