The moose likes Web Services and the fly likes zipping msg before sending Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "zipping msg before sending" Watch "zipping msg before sending" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 32767
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.


Android appsImageJ pluginsJava web charts
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
Bartender

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
 
 
subject: zipping msg before sending
 
Threads others viewed
GZIPOutputStream
Zipping subdirs along with files
Zipping Subdirs
Merged files? (can't think of a better name)
Downloading multiple files in one request
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com