我正在尝试将GZip添加到我的WCF服务的绑定中,然后我收到下一个错误
h = other_hash.select { |k, v| hash.has_key?(k) }.map { |k, v| [v, hash[k]] }.to_h
我的网络配置包含以下内容:
The Scheme cannot be computed for this binding because this CustomBinding lacks a TransportBindingElement. Every binding must have at least one binding element that derives from TransportBindingElement.
是什么导致了这个?
答案 0 :(得分:0)
您的端点节点出现问题。缺少绑定配置属性。添加bindingConfiguration =" BinaryCompressionBinding"然后再试一次。