0

By default axis2 returns regular(plain text xml) response. My goal - find some cfg property to make axis2 return gzipped response.

Anybody?

Thanks!

1 Answer 1

3

You configure this via the client, not the server

http://wso2.org/library/230#GZIP

Set this options flag to true org.apache.axis2.transport.http.HTTPConstants.MC_GZIP_REQUEST to send your client request gzipped

Set this options flag to true org.apache.axis2.transport.http.HTTPConstants.MC_ACCEPT_GZIP to request that the server respond with a gzipped response

1
  • 1) I havn't java client, rather Delphi one 2) second option doesnt work, I checked this through HTTPAnalyzer utility. Thanks anyway! Btw org.apache.axis2.transport.http.HTTPConstants has extremely what I need - MC_GZIP_RESPONS. But__ this property doesnt work as well.
    – artemv
    May 19, 2010 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.