This project is read-only.

How to Validate Inbound Messages on the Client

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

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.
void IClientMessageInspector.AfterReceiveReply(ref System.ServiceModel.Channels.Message reply, object correlationState)
 {
     validateMessage(ref reply);               
 }
 

Additional Resources

Last edited Jun 13, 2008 at 9:12 PM by prashantbansode, version 1

Comments

No comments yet.