So one thing you can do is to do your own mapping to XML. In that case
you can come up with a more efficient XML representation.

Suppose the data is an array of ranges of doubles. A machine generated
encoding might be something like this:

<element><lower>123.1203892187</lower><upper>334.1231232232</upper></element>
<element><lower>123.1203892187</lower><upper>334.1231232232</upper></element>
<element><lower>123.1203892187</lower><upper>334.1231232232</upper></element>
etc.

But if you create the xml you could have:
<r l="123.1203892187" u="334.1231232232"/> which is significantly smaller.

But of course the data is still readable.

Paul

On 3/30/07, Xinjun Chen <[EMAIL PROTECTED]> wrote:
Differential encoding indeed has better performance. But it is not really
compressing SOAP message. Instead, it reduces both payload data and overhead
in the SOAP message.
But as far as I know, currently no popular SOAP toolkit supports
differential encoding.

Regards,
Xinjun


On 3/29/07, Christian Poecher <[EMAIL PROTECTED]> wrote:
> Spies, Brennan schrieb:
> > This should be pretty easy to do...have the servlet filter check the
> > "Accept-Encoding" before applying GZIP compression. Then, when
debugging,
> > have the client turn off this header.
>
> Thanks, good hint!
>
> Does anyone know better compression techniques than gzip? I found a
> paper claiming much better compression than gzip:
>
> @inproceedings{Werner:CompressingSOAP,
>        Author = {C. Werner and C. Buschmann and S. Fischer},
>        Booktitle = {Proceedings of the IEEE International Conference on
Web
> Services},
>        Month = {July},
>        Pages = {540-547},
>        Title = {Compressing SOAP Messages by using Differential Encoding},
>        Year = {2004}}
>
> If my mind serves me right, I have also heard for years now, that people
> are researching XML compression. Is there any advanced compression
> algorithm available for Axis?
>
> Cheers,
> Chris
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to