You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Stephen Nelson <st...@artmachine.com> on 2001/03/22 19:55:07 UTC

Compressing attachments

I'm building a SOAP system that throws around fairly large quantities of
attachment data. Naturally, I'm looking for ways of compressing that data.

Is there an easy, transparent way of automatically compressing attachments
on serialization/deserialization? If not, should this be something that is
part of the Java libraries, both on the client and server sides? I'd
certainly be willing to contribute to such an effort.


RE: Compressing attachments

Posted by Eugene Huang <eu...@guppy.mpe.nus.edu.sg>.
I've been thinking about this as well. The first thought that came to me
is to make use of the "Accept-Encoding" header and specify the
compression protocol to use, just like what a browser does. Since the
change is only on to the transport layer, it should not cause any
problems with SOAP specifications. I just started looking at the 2.1
source tree to see if this feature can be added easily. I'm still very
new to SOAP, having just started looking at it a couple of days ago. So
any suggestions will be much appreciated.


Eugene

> -----Original Message-----
> From: Stephen Nelson [mailto:stephen@artmachine.com]
> Sent: Friday, March 23, 2001 2:55 AM
> To: SOAP-USER mailing list
> Subject: Compressing attachments
> 
> I'm building a SOAP system that throws around fairly large quantities
of
> attachment data. Naturally, I'm looking for ways of compressing that
data.
> 
> Is there an easy, transparent way of automatically compressing
attachments
> on serialization/deserialization? If not, should this be something
that is
> part of the Java libraries, both on the client and server sides? I'd
> certainly be willing to contribute to such an effort.


RE: Compressing attachments

Posted by Eugene Huang <eu...@guppy.mpe.nus.edu.sg>.
I've been thinking about this as well. The first thought that came to me
is to make use of the "Accept-Encoding" header and specify the
compression protocol to use, just like what a browser does. Since the
change is only on to the transport layer, it should not cause any
problems with SOAP specifications. I just started looking at the 2.1
source tree to see if this feature can be added easily. I'm still very
new to SOAP, having just started looking at it a couple of days ago. So
any suggestions will be much appreciated.


Eugene

> -----Original Message-----
> From: Stephen Nelson [mailto:stephen@artmachine.com]
> Sent: Friday, March 23, 2001 2:55 AM
> To: SOAP-USER mailing list
> Subject: Compressing attachments
> 
> I'm building a SOAP system that throws around fairly large quantities
of
> attachment data. Naturally, I'm looking for ways of compressing that
data.
> 
> Is there an easy, transparent way of automatically compressing
attachments
> on serialization/deserialization? If not, should this be something
that is
> part of the Java libraries, both on the client and server sides? I'd
> certainly be willing to contribute to such an effort.