*
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
JavaRanch » Java Forums » Java » Web Services
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: 41106
    
  45
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 - my free Android networking tools app
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: 2922
    
    5
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: zipping msg before sending
 
Similar Threads
Downloading multiple files in one request
Zipping subdirs along with files
Zipping Subdirs
Merged files? (can't think of a better name)
GZIPOutputStream