Hello,
I was working with WSE & SoapExtensions and I realized something subtle, but
could be an issue to consider.
Using the SoapExtensions, I alter the contents of the SOAP message before
the deserialization happens on the server. Now, in my web method, if I check
the contents of the envelope using
RequestSoapContext.Current.Envelope.OuterXml, I see that it does not reflect
the changes to the Xml content that I have made in my Soap Extenstion. This
may be due to the reason that my extension is chained after the soap
extensions of WSE, where the SoapContext is created and persisted.
So, I just wanted to know if it is my responsibility to update the contents
of the Envelope object after I modify the message stream ? Or am I missing
something here?
Thanks,
Manoj G