Http Headers from Windows Forms client

W

Wicus

Hi
I'm currently working on a thin client implementation where the thin client
consumes a web service. The client has been coded in c#.net and I've added
a dynamic web reference to the web service. My problem is that I need
access to the http headers (i.e Accept-Encoding) of the http requests that
the client send to the server. I've looked at the proxy class (which
inherits from SoapHttpClihentProtocol) and no access to the http header
level seems to be forthcoming. I am also making use of a soap extension
configured on the client. In the SoapExtension I can easily enough get hold
of headers like "Content-Encoding" on the SoapMessage class, but also there
the "Accept-Encoding" header does not seem reachable. Any help on how to
get access to the http header level from a windows forms client will be much
appreciated!!
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,479
Members
44,900
Latest member
Nell636132

Latest Threads

Top