thankx for your suggestion, but i have another query..
For general text files comprerssing we use java.util.zip package.
But I want to compress a xml file which is sending as a file attachment.
Actually i am working on webservices.Client sends a request to my webservice in xml format file, i am attaching that file using
SOAP and sending to the service.
So now what my question is can we compress that webservice request xml based file and then send it as an attachment.