aspose file tools*
The moose likes Web Services and the fly likes zipping msg before sending Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "zipping msg before sending" Watch "zipping msg before sending" New topic

zipping msg before sending

dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
hi all

can anyone give me / show links to an example of a webservice that zips
a message

i need to write a ws will send data to a client, but before the client
gets the data i need to zip it as it will be a large dataset.

has anyone an example zipping the soap body / message at server side ?

thanks for any help
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
The Web Services FAQ, which is linked in my signature, has a link to an article that describes how to use compression with Axis. It also applies to other SOAP engines implementations based on servlets.

Ping & DNS - updated with new look and Ping home screen widget
dale con
Ranch Hand

Joined: Apr 15, 2005
Posts: 93
thanks - i've already read that article

the client is a vb client, so don't think this will work
Peer Reynders

Joined: Aug 19, 2005
Posts: 2906
Originally posted by dale con:
the client is a vb client, so don't think this will work

A pure VB6 client is more or less limited by the functionality of the Microsoft SOAP Toolkit Version 3.0.
You should probably look into implementing a .NET assembly that uses more up-to-date WS technology to access the web service. Then expose that .NET assembly as a COM component through a COM Callable Wrapper (CCW) to the VB6 client. See Exposing .NET Framework Components to COM.
[ November 08, 2005: Message edited by: Peer Reynders ]

"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
I agree. Here's the link:
subject: zipping msg before sending
Similar Threads
Zipping Subdirs
Merged files? (can't think of a better name)
Downloading multiple files in one request
Zipping subdirs along with files