I have a WCF service that is adding headers to the response. I would like to know how to extract those headers on the client side.
How do I retrieve headers from WCF on the client
110 views Asked by Matt Ruwe At
1
I have a WCF service that is adding headers to the response. I would like to know how to extract those headers on the client side.
Found the answer:
http://msdn.microsoft.com/en-us/library/ms195389.aspx
For example, within a IClientMessageInspector using the reply object, you get it like so: