Hi
I have a classic VFP Web Service that is having a huge success, so the customer is adding more and more data to the response. At this point, the web service gives back around 1MB of data in a string built by 4-5 XML concatenations. It stills comes back quite fast, but i would like to make it faster, and am also forecasting adding more stuff in there, so the result string will grow much bigger.
I thought, therefore, to compress the string prior to sending it, using ZLIB, then decompress it at the client's application. I forgot to mention the obvious, and that is that both the server and the client are VFP apps.
My questions are:
1) anyone has experience/some code how to use ZLIB from VFP, to compress a string then decompress it?
2) if 1) is successful, should i change anything in my Web Service or in the client, now that the data that goes through the wire is not a string but binary?
TIA
Jaime
Why do programs stop working correctly as soon as you leave the Fox?