Monday, May 22, 2017

Enable tracing and Logging in WCf-9

To view SOAP fault messages we need to enable message logging in client or in service host.

1. Open the webconfig file by right click then click on Edit WCF Configuration and select Diagnostics.
2. Enable Auto Log Flush.
3. Enable Message Logging
4. Enable Tracing

Now expand Diagnostic and Select Message Logging

1. Set LogEntireMessage =true

No comments: