Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using WCF message logging and tracing


WCF provides a number of diagnostics features that can help you troubleshoot your applications. We will look at two of these: message logging and tracing.

  • Message logging: This enables you to log all the messages that are sent and received by the AOS. It allows you to see what data and parameters are in the messages being exchanged. In this way, it is similar to the logging functionality on the integration port, but it is all handled by WCF.

  • Tracing: This allows you to look at how messages flow between the client and service. Techniques such as activity propagation and correlation of messages allow you to keep track of the entire conversation between the client and service both at the service and transport level.

Both of these output to the .svclog files that you can analyze using the Service Configuration Editor.

Note

For this demonstration, we will use the Service Configuration Editor that is part of the Windows SDK. For more information, visit the Configuration...