This project is read-only.

How to validate inbound messages on the client

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

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);               

Last edited May 8, 2008 at 7:30 AM by prashantbansode, version 1


No comments yet.