none
How to set http headers from IDispatchMessageInspector.BeforeSendReply ? RRS feed

  • Question

  • Hi,

    I'm having some trouble setting http headers from BeforeSendReply. Notice that I'm talking about http headers and not soap headers. 

    I do like this: WebOperationContext.Current.OutgoingResponse.Headers["Test"] = "NoShow";

    But in the client, WebOperationContext.Current.IncomingResponse.Headers there is no "Test" key. Why not?

    -- 
    Werner

    Thursday, January 30, 2014 11:44 AM

Answers