Debugging WCF can be hard. Frusteratingly hard. Small details can easily cause failures; A simple namespace mismatch on an XML envelope, for instance, will cause the entire message to be dropped silently by the server. Luckily, WCF with the .NET Framework comes with several logging and debugging tools that allow you, the developer, to hook directly into the messaging stack and get all the information you need. Unfortunately, the .NET Compact Framework does not have these hooks due to size constraints and prerequisites that are also not implemented. What is one to do?
Read more at Dan Horbatt's
blog.