axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: Axis2c and deflate_module
Date Thu, 10 Nov 2011 18:34:59 GMT
On Thu, Nov 10, 2011 at 15:07, Stadelmann Josef
<josef.stadelmann@axa-winterthur.ch> wrote:
> Doing zip and unzip in the proper order is definitely a job for MTOM.
>
> How shall axis2 or one of its message receiver know where the zipped section
> in a stream of bytes starts/ends? Axis for sure has no clue about that. But
> MTOM has.

That is not correct. MTOM is based on MIME, more precisely on the part
that describes MIME multipart messages. MIME only supports
Content-Transfer-Encoding (base64, binary, quoted-printable, etc.),
but not Content-Encoding. HTTP on the other hand supports
Content-Encoding (e.g. gzip) and Transfer-Encoding (e.g. chunked).
That means that MTOM doesn't handle compression. Compression can only
be handled in two places in the stack: at the transport level (HTTP)
or in the application (service implementation). It is not MTOM's
business.

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message