Microsoft
70-513 · Question #239
You are developing a client that sends several types of SOAP messages to a Windows Communication Foundation (WCF) service method named PostData PostData is currently defined as follows…
The correct answer is A. <OperationContract(lsOneWay True, Action ReplyAction `-)>. See the full explanation below for the reasoning.
Question
You are developing a client that sends several types of SOAP messages to a Windows Communication Foundation (WCF) service method named PostData PostData is currently defined as follows <OperationContract> Sub PostData(Byval data As Order) You need to modify PostData so that it can receive any SOAP message. Which code segment should you use?
Options
- A<OperationContract(lsOneWay True, Action ReplyAction `-)>
- BOperationContract(lsOneway: zTrue, Action:z'-', ReplyAction: z"-')>
- C<OperationContract> Sub PostData(Byval data As BodyWriter)
- D<OperationContract0> Sub PostData(ByVal data As Message)
How the community answered
(16 responses)- A81% (13)
- C6% (1)
- D13% (2)
Community Discussion
No community discussion yet for this question.