We have a wcf service that takes large amount of data. As a requirement we want to take the request objects gzipped and response them using the same compression. How can I do this? I couldn't find any document describing this issue.
How can I develop a wcf soap service that works like that and how to consume this kind of services?
Microsoft has a sample that demonstrates this (you can compile their code, and simply plug it into your application)
GZip Encoder Sample
There is a more complete sample in the WCF/WF/Cardspace samples here:
Windows Communication Foundation Samples
If you look in WCF/Extensibility/MessageEncoder/Compression, there is a more complete sample with an example client and server
Good article : HTTP COMPRESSION in IIS 6 and IIS 7 using Service Account
Check : HTTP Compression
Enable Gzip compression in IIS 6.0 for ASP.NET 2.0 websites