WSE 3 SoapFilter: envelope.Context does not contain items added in the Service Entry Filter
- From: "sumeet" <sum.rohatgi@xxxxxxxxx>
- Date: 11 Jan 2007 11:48:14 -0800
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
.
- Prev by Date: UsernameToken is expected but not present
- Next by Date: Re: Propagating caller identity across applications from a bare ASMX Service method to a WSE3 Service method
- Previous by thread: UsernameToken is expected but not present
- Next by thread: Web Services to Federate Active Directory - available today?
- Index(es):