Hi,
Thanks for replying.
Is this two lines are essential for all the things to be done.
ie
Zipping the Request Xml.
Getting Response In Zip Format (This is according to server inpl)
Unzip the Response Xml.
Or do I need to code any more for unzipping?
Alick Buckley <[EMAIL PROTECTED]> wrote:
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 Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.