Compressing request and response soap message of wcf web service

天大地大妈咪最大 提交于 2019-12-13 01:15:18

问题


I refered this link: http://www.codeproject.com/Articles/53718/Extending-WCF-Part-II

I created proxy to call wcf method But after implementing this logic also I am getting following error:

Content Type application/x-gzip was not supported by service http://localhost/DeskWCF/Demo.svc.  The client and service bindings may be mismatched.

If you have any way to compress soap messages of wcf then please help me..

Thanks in advance.


回答1:


look at these questions, and you should be able to get it working

How to get gzip compression working in WCF 4.5 How to get gzip compression working in WCF 4.5



来源:https://stackoverflow.com/questions/22908110/compressing-request-and-response-soap-message-of-wcf-web-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!