Which code segment should you use?

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?

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?

A.
<OperationContract(lsOneWay True, Action ReplyAction ā€˜-)> Sub PostData(ByVal data
As Order)

B.
<OperationContract0> Sub PostData(ByVal data As Message)

C.
OperationContract(lsOneway: zTrue, Action:zā€™-ā€™, ReplyAction: z”-ā€™)> Sub PostData(ByVal
data As BodyWriter)

D.
<OperationContract> Sub PostData(Byval data As BodyWriter)



Leave a Reply 0

Your email address will not be published. Required fields are marked *