Re: Problems in transferring XML



Hi,

Thanks for your idea.
But still im not clear about the solution.
How can I compress XML using a compression algoritm?
Is it after saving the XML string to a file and then zip it? But in
that case how are we going to transfer the zipped file?
I tried to send the zipped file as a string but SOAP tool kit returned
and error saying the string contains some invalid characters.

Please advice.

Joe Kesselman wrote:
What would be the best ways to reduce this processing the amount of
data transferred?

Well, the traditional solution is to put the XML thru standard data
compression algorithms (zip/unzip, for example) before sending it across
the wire. That will reduce repeated structure as well as repeated
strings, and is thus much more effective than just trying to compress
the text content.

The question of whether there should be a standardized compressed form
for XML comes up on a regular basis. Most past attempts have actually
not been much, if any, improvement over zip/unzip. Folks still play with
this periodically, and the W3C's still debating whether the concept
makes any sense or if it completely breaks the XML processing model.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry

.



Relevant Pages

  • Re: String compression
    ... something that was basically a web service. ... We did it by building the XML message, zipping it, then base64 encoding the ... Then we embedded that base64-encoded string inside of a very simple ... In those days we had to compress to file and then operate on the file. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SP1 Problem SOAPException doesnt return quote and Umlaute correcty
    ... Our app returns XML in the fault string. ... returned in the fault string of a soap exception. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: SP1 Problem SOAPException doesnt return quote and Umlaute correcty
    ... At the core of it is: Should SOAP fault description strings be intended ... unicode string is being URLEncoded as part of converting it to XML. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Attention Sean - question about CSI
    ... the best compression algorithm you have. ... It should compress very ... which compresses that string to a single bit. ... already there uncompressed, why would you want to uncompress it ...
    (talk.origins)
  • Re: Attention Sean - question about CSI
    ... the best compression algorithm you have. ... It should compress very ... which compresses that string to a single bit. ... from the binary code, and use it to decompress the data, then ...
    (talk.origins)