Thanks very much for your response.
   
  I am getting the response inb GZip format. It is working fine. But I want to 
know how can I unzip it. That is my problem. I am using handler to do this 
unzipping. I got the response message in handler in GZip format. Now the thing 
I want to know is how I unzip it and set the unzip message to the 
messageContext.
   
  Regards
  Jobin.

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. 

 
---------------------------------
Any questions?  Get answers on any topic at Yahoo! Answers. Try it now.

Reply via email to