Simon Fell > Its just code > Compression with .NET 2.0

Wednesday, November 09, 2005

Compression with .NET 2.0

4 years on, .NET starts to catch up with PocketSOAP :), .NET 2.0 supports automatically unzipping a gzipped response, and advertises this fact by including the Accept-Encoding: gzip header in the request, good so far. But the docs are wrong, the docs indicate that this is on by default, but my testing shows that its off by default and you need to explicitly turn it on (by doing svc.EnableDecompression = true; where svc is an instance of your WS proxy class). It a pity that they didn't also support compressing the request, looks like if you want that, you'll still need to go this route.

I also see that some of the Indigo WSDL parsing bugs seem to have been back ported to VS.NET 2005, opening the sforce WSDL in the VS.NET ide gives ~100 warnings, all bogus, it seems like

< 10:33 PM PST # > tags : Web Services

You can't post a Comment

Sorry i got sick of comment spam, have something to say about one of my posts, post it to your own weblog.