You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?()
You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()
Why was the foundation created?
A Windows Communication Foundation (WCF) service exposes two operations: OpA and OpB. OpA needs to execute under the client’s identity, and OpB needs to execute under the service’s identity. You need to configure the service to run the operations under the correct identity. What should you do?()
A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.You must ensure that the client application can interact with the WCF service. What should you do?()
You are developing a Windows Comunication Foundation (WCF) service that is used to check the status of orders placed by customers.The following code segment is part of your service.(Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IStatus 03 { 04 [OperationContract] 05 int GetOrderStatus(string orderNumber); 06 } 07 08 class OrderService : IStatus 09 { 10 public int GetOrderStatus(string orderNumber) 11 { 12 ... 13 } 14 } 15 16 class Program 17 { 18 static void Main(string[] args) 19 { 20 21 22 host.Open( ); 23 ... 24 } 25 }You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe. What should you do?()
A Windows Communication Foundation (WCF) solution uses the following contract: [ServiceContract(SessionMode=SessionMode.Allowed)]public interface IMyService{ [OperationContract(IsTerminating=false)] void Initialize( ); [OperationContract(IsInitiating=false)] void DoSomething( ); [OperationContract(IsTerminating=true)] void Terminate( );} You need to change this interface so that: lnitialize is allowed to be called at any time before Terminate is called. DoSomething is allowed to be called only after Initialize is called, and not allowed to be called after Terminate is called. Terminate will be allowed to be called only after Initalize is called.Which two actions should you perform? (Each correct answer presents part of the sdution. Choose two)()。
A Windows Communication Foundation (WCF) service is generating a separate namespace declaration for each body member of a message contract,even though all body members share the same namespace. You need to simplify the XML representation of your message contract so that the namespace is only declared once. What should you do?()
You are developing a Windows Communication Foundation (WCF) service. You need to enable security auditing for all events. What should you do?()
A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()