You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Da...@dse.vic.gov.au on 2006/08/11 02:02:46 UTC
Unable to compress message with GZIP in Axis 1.4
Hi,
I am trying to use the out of the box axis compression to send a gzipped
message with using Axis 1.4 as per the instructions outlined in
http://wiki.apache.org/ws/FrontPage/Axis/GzipCompression, however the
messages are being sent to the endpoint uncompressed.
I am using Axis 1.4 with J2SE 5.0 and commons-httpclient 3.1.0 with eclipse
3.2 and websphere 6.1 all on my local
dev machine. I have set up a servlet filter to intercept and log the
incoming web service calls at the endpoint
*prior* to the axis listener (which it does according to my stacktrace),
hence prior to any decompression. The extracted
InputStream message is the readable (hence uncompressed) SOAP XML that I
sent through.
Is this a known issue of sorts,or perhaps a library version
interoperability problem, or am I just
missing something?
Are there any known issues such as this in using Axis 1.4 with J2SE 5.0?
Any help would be greatly appeciated
Damian Phillips
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Unable to compress message with GZIP in Axis 1.4
Posted by Cyrille Le Clerc <cy...@pobox.com>.
Hello Damian,
Did you enable http compression on your server ?
Usually, it is done in the http server layer. In Websphere world ;
it is usually done in Ibm Http Server (aka IHS) layer with
mod_deflate.
Here is a doc of mod_deflate :
http://www.howtoforge.com/apache2_mod_deflate
Hope this helps,
Cyrille
--
Cyrille Le Clerc
cyrille.leclerc@pobox.com
cyrille.leclerc@fr.ibm.com
On 8/10/06, Damian.Phillips@dse.vic.gov.au
<Da...@dse.vic.gov.au> wrote:
> Hi,
>
> I am trying to use the out of the box axis compression to send a gzipped
> message with using Axis 1.4 as per the instructions outlined in
> http://wiki.apache.org/ws/FrontPage/Axis/GzipCompression, however the
> messages are being sent to the endpoint uncompressed.
>
> I am using Axis 1.4 with J2SE 5.0 and commons-httpclient 3.1.0 with eclipse
> 3.2 and websphere 6.1 all on my local
> dev machine. I have set up a servlet filter to intercept and log the
> incoming web service calls at the endpoint
> *prior* to the axis listener (which it does according to my stacktrace),
> hence prior to any decompression. The extracted
> InputStream message is the readable (hence uncompressed) SOAP XML that I
> sent through.
>
>
> Is this a known issue of sorts,or perhaps a library version
> interoperability problem, or am I just
> missing something?
>
> Are there any known issues such as this in using Axis 1.4 with J2SE 5.0?
>
> Any help would be greatly appeciated
> Damian Phillips
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org