axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Thorington (JIRA)" <>
Subject [jira] [Created] (AXIS2-5126) Axis 2 Server response is not compressed when requested to be
Date Mon, 22 Aug 2011 19:22:29 GMT
Axis 2 Server response is not compressed when requested to be

                 Key: AXIS2-5126
             Project: Axis2
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.6.0, 1.5.5
         Environment: Windows 7 pro (64b)
            Reporter: Brent Thorington


Axis2 (server side) is not sending a compressed response to my Axis2 (client) When I set MC_ACCEPT_GZIP
to true.  The request is compressed, but never the response (verified with a local proxy).

            Options options = stub._getServiceClient().getOptions();
            options.setProperty(HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE);
            options.setProperty(HTTPConstants.MC_GZIP_RESPONSE, Boolean.TRUE);
            options.setProperty(HTTPConstants.MC_ACCEPT_GZIP , Boolean.TRUE);
            options.setProperty(HTTPConstants.COMPRESSION_GZIP, Boolean.TRUE );

I've searched and found another issue where it was suggested that adding CHUNKED=false was
needed for compression.  However when I add 
            options.setProperty(HTTPConstants.CHUNKED,  Boolean.TRUE);
I get a message back that says "Not in GZIP format"

Is this a bug or am I doing something wrong with my request.  

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message