Hi,
If you are using a Axis 1.4 Agent to talk to a server that handles GZIP
could try the follwoing :
stub._setProperty (
org.apache.axis.transport.http.HTTPConstants.MC_ACCEPT_GZIP, Boolean.TRUE )
;
stub._setProperty (
org.apache.axis.transport.http.HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE )
;
-----Original Message-----
From: Jobin Mathew [mailto:[EMAIL PROTECTED]
Sent: Saturday, 17 February 2007 5:08 PM
To: [email protected]
Subject: GZip in Axis
Hi,
I am using GZip compression in my project. The server is giving me
GZipped response. But how can I unzip it. I used handler for doing this.
In response handler I got the entire soap message in zipped format. Now
I want to unzip it and add it to the same MessageContext.
I searched too much but dont get any peice of code for doing this
unzip in a handler. I am using Axis 1.4. Can you please help me.
Thanks for all.
Regards
Jobin.
_____
Looking for earth-friendly autos?
Browse
<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2B
HNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-> Top Cars by "Green Rating" at
Yahoo! Autos' Green Center.