Re: String compression
From: Dmitriy Lapshin [C# / .NET MVP] (x-code_at_no-spam-please.hotpop.com)
Date: 03/17/04
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: HELP HELP HELP:how SOCKET through proxy in c#!!!!!!!!"
- Previous message: Doug Handler: "Internet Communication / Windows Service"
- In reply to: skg: "RE: String compression"
- Next in thread: Michael Giagnocavo [MVP]: "Re: String compression"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 15:54:31 +0200
I am not sure it is suitable in your case, but you can employ a ZIP library
(I am pretty sure there is even a free one written in C#) to compress the
string. But you should also change the Web service to make it decompress the
received data before processing them. Of course you can only compress the
data themselves, the SOAP envelope around the request should be left intact
as I am not aware of any Web Service extension allowing compressed SOAP
requests. This doesn't mean however such extension cannot exists, Web
Services are just not my primary speciality.
-- Dmitriy Lapshin [C# / .NET MVP] X-Unity Test Studio http://www.x-unity.net/teststudio.aspx Bring the power of unit testing to VS .NET IDE "skg" <anonymous@discussions.microsoft.com> wrote in message news:3EB5E255-4FCB-424D-AFF1-77AF4A9DD78F@microsoft.com... > I'm looking for code on how to compress a (XML) string to send through a WebService. Due to the size of the data we are sending it takes an unacceptable amount of time to accomplish the task. If we can compress the string into a string then we can speed up the task and make eveyone happy.
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: HELP HELP HELP:how SOCKET through proxy in c#!!!!!!!!"
- Previous message: Doug Handler: "Internet Communication / Windows Service"
- In reply to: skg: "RE: String compression"
- Next in thread: Michael Giagnocavo [MVP]: "Re: String compression"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|