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]void PostData(Order data);You need to modify PostData so that it can receive any SOAP message. Which code segment should you use?()A. [OperationContract(IsOneWay=true, Action=*, ReplyAction=*)] void PostData(Order data);B. [OperationContract(IsOneWay=true, Action=*, ReplyAction = *)] void PostData(BodyWriter data);C. [OperationContract] void PostData(BodyWriter data);D. [OperationContract] void PostData(Message data);
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]void PostData(Order data);You need to modify PostData so that it can receive any SOAP message. Which code segment should you use?()
A. [OperationContract(IsOneWay=true, Action="*", ReplyAction="*")] void PostData(Order data);
B. [OperationContract(IsOneWay=true, Action="*", ReplyAction = "*")] void PostData(BodyWriter data);
C. [OperationContract] void PostData(BodyWriter data);
D. [OperationContract] void PostData(Message data);
相关考题:
A wise mother never ______ her children to the slightest possibility of danger. (A) exposes(B) makes(C) sends(D) lets
在Internet上搜索信息时,下列说法不正确的是____。A.windows and client表示检索结果必须同时满足windows和client两个条件B.windows or client表示检索结果只需满足windows和client中一个条件即可C.windows not client表示检索结果中不能含有clientD.windows client表示检索结果中含有windows或client
Several@functionscanexecutemultiplestatements.Whichoneofthefollowinginitializesavariableandcanincrementinduringtheoperation?() A.@doB.@forC.@whileD.@dowhile
在Internet上搜索信息时,下列说法不正确的是 。A.windows and client表示检索结果必须同时满足windows和client两个条件B.windows or client表示检索结果只需满足windows和client中一个条件即可C.windows not client表示检索结果中不能含有clientD.windows client表示检索结果中含有windows或client
92、在Internet上搜索信息时,下列说法不正确的是 。A.windows and client表示检索结果必须同时满足windows和client两个条件B.windows or client表示检索结果只需满足windows和client中一个条件即可C.windows not client表示检索结果中不能含有clientD.windows client表示检索结果中含有windows或client