wood burning stoves 2.0*
The moose likes Web Services and the fly likes GZip in Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "GZip in Axis" Watch "GZip in Axis" New topic
Author

GZip in Axis

Jobin Mathew
Ranch Hand

Joined: Oct 17, 2006
Posts: 83
Hi all,
How can we send SOAP messages in gzip format, 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?

Please help me.
Thanks in advance

Jobin
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
I looked into some aspects of this question for this article comparing Fast Infoset with gzip.

Using GZIP makes a big difference in XML file size, as you might expect from the repeating tags. Unzipping on the receiving end using ZipInputStream adds about 10% to the parsing time. So performance will depend on the relation between network transmission speed and CPU speed.

Note that I did not do a complete SOAP application for that article, I just looked at file sizes and DOM parsing time.

Bill
 
Consider Paul's rocket mass heater.
 
subject: GZip in Axis
 
Similar Threads
How to gzip more than one files together
setHeader()
GZip in Axis
Recovery from corrupt GZIP file
GZip in Axis