WSE 3 SoapFilter: envelope.Context does not contain items added in the Service Entry Filter



Hello,

In our asp.net 2.0 web services, we have an entry filter which sets
Context items, which are queried within the services by some framework
methods.

Here's some abbreviated code for the Entry Filter:
public override SoapFilterResult ProcessMessage(SoapEnvelope
envelope)
{
envelope.Context["mycustom_item"] = "abc";
}

In the Exit Filter this is again queried back:
public override SoapFilterResult ProcessMessage(SoapEnvelope
envelope)
{
string custom_item = envelope.Context["mycustom_item"] as string;
// Issue: custom_item is always null
}

This code used to work fine in WSE 2.0 SP3/ .NET 1.1.

Please let me know if there is some other change I need to do.

Thanks
Sumeet

.