O'Reilly logo

Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications by Steven Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Intercepting operation parameters in a strong-type manner

WCF service operation calls are serialized into SOAP XML messages over wire, which gives us opportunity to intercept the message and manipulate it. However, this kind of interception is at the raw XML message level and is not quite convenient for inspecting or manipulating strong-typed operation parameters. In such cases, WCF provides built-in interfaces for developers to intercept the input and output parameters of the service operation call. For those services in which we want to inspect or modify the operation parameters, we can define a custom parameter inspector to achieve the task. In this recipe, we will demonstrate how we can use the parameter inspector to manipulate the parameters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required