Hi,

there was a posting to this list quite a time ago concerning compression of SOAP 
messages.
Actually, I am facing a similar problem now and I wonder if anybody has an idea or 
comment about it.

So my basic approach is as follows:
I don't want to care about compression at all, instead I want the web server to do 
this 
for me. I found two headers in the HTTP1.1 protocol specification, namely 
* Content-Encoding and 
* Accept-Encoding

Both can take values like gzip, compress or deflate, specifying the preferred 
compression 
methods. My knowledge about web server technologies is not too strong, so my questions 
are as follows:

- When I set both headers for a Soap message (i.e. Content-Encoding: gzip and Accept-
Encoding: gzip), will the web server care about compression upon posting the message 
to 
the service endpoint?

- Will the response transport also be compressed and if so, do I have to care about 
decompressing it or is it again done by the web server?

- Do you have any links to sites where I can find more information about this topic 
(not 
necessarily Apache-specific, but also IIS, etc.)

Thanks,
Chris

Reply via email to