Thanks for the input. I'm determined to make this work because without
compression, I can't use Axis. I'm sending too much data for SOAP to be
feasible w/o compression. Of course, I'll make any solution I implement
available to the community.
I found some info on handlers but not a lot, especially on handlers at
the transport level. Here is what I am thinking. The HTTPSender class
is apparently a client transport handler. I need to extend this class
to wrap the output stream in a GZIP stream so that data going from the
client to the server is compressed. I do not yet know how to make an
Axis SOAP client use my new, extended HTTPSender class.
On the server, it looks like all requests coming in come to the
AxisServlet. I would assume I need to extend this servlet and wrap its
InputStream in a GZIP stream, and then modify web.xml to use the new
servlet instead. I've not found where on the server that I can put a
handler which will decompress the inbound data.
This approach may be incorrect. However, I have the skill set to
implement a good solution if someone more knowledgable of Axis can give
me some additional pointers. Let me know if this thread should move to
the deveoper list.
Thanks sincerely
Brian Young
>You should be able to write "Handlers" for Axis that will process the
>messages (both client and server) on the way in/out. This would allow
>you to support gzip'd data transparently.
>
>This is how Axis is designed, to be extensible. See the documentation
>for architecture details.
>
>Note that on the client, you configure the handlers in the
>'client-config.wsdd' file, pretty much the same way you do in the
>server-config.wsdd file.
>
>Hope this helps point you in the right diirection.
>
>--
>Tom Jordahl
>Macromedia Server Development
- gzip support Brian W. Young
- Re: gzip support Toshiyuki Kimura
- Re: gzip support Chris Schaefer
- RE: gzip support Yaron Zakai
- Re: gzip support Brian W. Young
- Generic Axis Soap Client David Mullens
- RE: gzip support Tom Jordahl
- RE: gzip support Toshiyuki Kimura
- RE: gzip support Tom Jordahl
- Re: gzip support Brian W. Young
- Re: gzip support James Carman
- Re: gzip support James Carman
- Re: gzip support Brian Ewins
- Re: gzip support Brian W. Young