How to Validate Inbound Messages on the Client

Implement the AfterReceiveReply of the interface IClientMessageInspector of the message inspector to validate inbound messages on the client. This allows you to validate the message after the client response has arrived but before deserialization
and before returning the data to the client application.