Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am writing a client to consume an asmx web service which has gzip encoding enabled. I am trying to view the response in Fiddler.

The strange thing is that it doesn't work in my server but works in another server which is in a different network.

I have googled but couldn't find any possible explanation. I stumbled upon a link (https://developers.google.com/speed/docs/insights/EnableCompression) which suggests that proxies and firewalls can disable compression.

Can that be a possible reason for this issue? Does anyone know how to enable compression on proxy server/ firewall. Any other suggestions are welcome.

Just for info, the SOAP header I am using in fiddler is:
XML
Content-Type: text/xml
charset=utf-8
SOAPAction: "http://www.xxxxxxxxxx.com/xxxxxxxxx"
Expect: 100-continue
Accept-Encoding: gzip
Connection: Keep-Alive


I am getting error: Exception: Compression is Not Enabled,This Web Service expects clients to support GZIP,Deflate Compression
Posted
Updated 23-Oct-14 19:57pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900