• Post Reply Bookmark Topic Watch Topic
  • New Topic

GZip in Axis

 
Jobin Mathew
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
How can we send SOAP messages in gzip format & how can I inform server that I can accept Gzip format messages, ie in compressed manner. What all should I do for that? Also what should I do to uncompress the message I got as response? Do this gzip seriously improve performance?

I tried something like setting Accept-Encoding property to GZip.

http://www-128.ibm.com/developerworks/webservices/library/ws-sqzsoap.html

But not get much idea that where to put the code for that. Can anyone give me a detailed description.

Please help me.
Thanks in advance

Jobin
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as impact on performance goes, I looked at the effect of GZIP and also "fast infoset" code on XML size and parsing time for this article.

Zipping really cuts the file size substantially at the expense of slightly longer unzipping and parsing time so the tradeoff is between bandwidth requirement and parsing time.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!