M.Javed wrote: > Hi all, I have an application which calls a .NET webservice for data > periodically, lets say, every 5 seconds. The WebService in return > sends an XML back to the Flex Application which process it further > for display. As you can see the network in this scenario can b a > bottle neck in case of slow internet connections, currently the XML > sent by the WebService to the Flex Application is of size around 5kb. > I want it to be reduced by implementing some kind of compression if > there is any support available. If anyone can give any idea in this > regard, it will be a great help. Thanks in advance, >
I have considered this idea aswell but never implemented it. It occured to me that the time taken to decompress the data may out-weigh the benefit of sending less data over the wire(in my case anyway). Then there is the issue regarding the conversion of the XML to Objects or whatever you would use as the result type of the HTTPService. I use array mostly as the resultType and wasn't sure how i would go about converting unzipped xml data to a tree of dynamic objects. Anyway, I'm pretty sure there is zip compression code in the stuff for AlivePDF. Or perhaps it was one of the other projects by the same developer. So that might be somewhere to look. I think there may also be a zip compression api in flex 3 but i'm not sure. I know i've seen in somewhere. :) Let us know how it goes. cheers, - shaun

