A Windows Communication Foundation (WCF) application exposes a service as a SOAP
endpoint for consumption by cross-platform clients. During integration testing, you find that
one of the clients is not generating the correct messages to the WCF application. In order to
debug the issue and fix the communication, you need to configure the service to log
messages received from the client. What should you do?
A.
Set an etwTracking behavior on the service and configure a listener for the
System.ServiceModel.MessageLogging trace source.
B.
Enable messageLogging in the System.ServiceModel diagnostics element configuration
and configure a listener for the System.ServiceModel.MessageLogging trace source.
C.
Enable messageLogging in the System.ServiceModel diagnostics element configuration
and configure a listener for the System.ServiceModel trace source.
D.
Set an etwTracking behavior on the service and configure a listener for the
System.ServiceModel trace source.