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
Options
- A<MessageContract(IsWrapped:=False)>
- B<MessageBodyMember()>
- C<MessageContract(WrapperName:="")>
- D<MessageBodyMember()>
- E<DataContract()>
- F<DataContract()>
How the community answered
(23 responses)- A83% (19)
- C4% (1)
- D9% (2)
- E4% (1)
Community Discussion
No community discussion yet for this question.
