If you use callbacks or want to change the message or headers, you need to use OperationContextScope . You may need to change the outgoing headers when calling this other service.
When you set OperationContextScope , you can:
- Access and change incoming and outgoing message headers and other properties.
- Access to the runtime, including dispatchers, host, channel, and extensions.
- Access to other types of contexts, such as security, instance, and request contexts.
- Access to the channel associated with the
OperationContext object or (if the channel implements System.ServiceModel.Channels.ISession ) the corresponding channel session identifier.
Another service you are calling is the session service? You probably need to see a sample client code or documentation, if available.
Ajay Kelkar Apr 14 '10 at 5:08 2010-04-14 05:08
source share