A Windows Communication Foundation (WCF) service uses the following service contract.
<ServiceContract> Public Interface IService <OperationContract0>? Function Operation 1
(RyVal s As String) As String End Interface You need to ensure that the operation contract
Operation 1 responds to HTTP POST requests. Which code segment should you use?
A.
<OperationContract(Action:z”POST”)> Function Operation 1 (ByVal s As String) As
String
B.
<OperationContract0> <Weblnvoke(Method:z’POST”)> Function Operation 1 (ByVal s As
String) As String
C.
<OperationContract0> <WebGet(UriTemplate: “POST’)> Function Operation 1 (ByVal s
As String) As String
D.
<OperationContract(ReplyAction: ‘POST”)> Function Operation 1 (ByVal s As String) As
String