The Exchange Server Interoperability Guidance documents have some really good sample code. I’ve leveraged some of its code to build a tool with capabilities which have been helpful in resolving EAS issues. This tool’s code an binaries are now published in Codeplex.
The current functionality in this application will cover many basic issues people run into while troubleshooting EAS. Further it will convert several forms of EAS payloads into XML.
Its primary capabilities include:
I hope that you find EASTester useful.