在WCF端点中,basicHttpBinding和wsHttpBinding有什么区别?什么时候应该使用?basicHttpBinding vs wsHttpBinding
回答
吨的材料就在那里 - 只是谷歌的“WCF basicHttpBinding wsHttpBinding”。
你会发现除其他外:
- WCF : BasicHttpBinding compared to WSHttpBinding at SOAP packet level.
- Difference between BasicHttpBinding and WsHttpBinding 和很多很多!
非常基本:
- basicHttp是SOAP 1.1,wsHttp是SOAP 1.2(它们是完全不同的,尤其当涉及到SOAP错误。)
- 基本是 - 非常基本的。它兼容旧式的ASMX ASP.NET webservices和几乎任何其他web服务堆栈
- 基本的安全设置是非常有限的
- wsHttp是一个巨大的WS- *标准的实现,并提供了很多更多功能:安全性,可靠的消息传递,交易支持,双工通信和整个主机更多。
- wsHttp是多少“重”,更广泛的协议,相容性较差,不太灵活
我试图寻找WCF basicHttpBinding wsHttpBinding并得到这个网页... – 2013-06-25 08:07:57
@IvanP:**这个答案需要什么**有待改进?我试图展示这两个绑定之间的主要区别 - 您认为这个答案中缺少了什么? – 2014-04-01 20:47:48
好吧,两个链接关闭,你对谷歌的建议是回送。此外,如果可以,请提供更多信息,并且在每个应用程序都未回答时。 – IvanP 2014-04-01 21:51:03
wsHttpBinding
更加安全可靠,比basicHttpBinding
。如果不需要很好的兼容性,则可以选择wsHttpBinding
。
编号:BasicHttpBinding vs WSHttpBinding
BasicHttpBinding
:
- WS-I Basic Profile的1.1规范(旧ASMX风格)
- 它支持SOAP 1.1的消息传递协议
- 不支持WS - 安全性,整个有效负载以纯文本形式发送。
- 提供高水平的互操作性。
WSHttpBinding
:
- 允许您使用各种WS- *规范,如WS-Security 1.1,WS可靠消息等
- 它支持SOAP 1.2的消息传递协议
- 作为它使用WS- *规范构建,它不支持更广泛的客户端。
该链接已死亡 – 2016-01-04 16:30:04
- 1. BasichttpBinding vs WCF的WSHttpBinding
- 2. WsHttpBinding VS WS2007HttpBinding VS WSDualHttpBinding ..?
- 3. BasicHttpBinding和WsHttpBinding之间的代理
- 4. WCF wsHttpBinding和BasicHttpBinding在相同的WCF服务应用程序中
- 5. WCF IIS托管的wsHttpBinding服务 - svcutil使用basicHttpBinding生成代理!
- 6. 使用wsHttpBinding或basicHttpBinding for Silverlight应用程序,哪一个?
- 7. WCF从基本去的wsHttpBinding
- 8. 使用VS2010中的“添加服务引用”生成WsHttpBinding而不是BasicHttpBinding
- 9. WCF basichttpbinding netTcpBinding路由
- 10. WCF wsHttpBinding with Transport Security
- 11. netTcpBinding/BasicHttpBinding
- 12. 编程方式与WsHttpBinding的
- 13. WCF:是否使用WsHttpBinding可互操作?
- 14. wsHttpBinding中ws究竟代表什么?
- 15. 使用wsHttpBinding,WCF忽略我的web.config
- 16. WCF .NET核心 - WsHttpBinding配置project.json
- 17. WCF服务:WSHttpBinding
- 18. 越来越即使我使用的wsHttpBinding
- 19. WSHttpBinding TransportWithMessageCredential SecurityMode改变请求
- 20. WCF配置 - basicHttpbinding
- 21. WCF BasicHttpBinding Http Post
- 22. BasicHttpBinding和MessageVersion.None
- 23. 通过basicHttpBinding的
- 24. 与basicHttpBinding的
- 25. 使用PHP Soap客户端消费wsHttpBinding
- 26. Unity IoC + WCF + wsHTTPBinding +证书授权
- 27. WCF绑定设置为wsHttpBinding使用浏览器访问Web服务将其作为basicHttpBinding
- 28. 使用WSHttpBinding的WCF和Java Interop,
- 29. NetTcpBinding的或的wsHttpBinding
- 30. WCF服务的wsHttpBinding
我从下面的链接找到了很好的帮助。试试看。它的活跃。 http://stackoverflow.com/questions/2650785/basichttpbinding-vs-wshttpbinding-vs-webhttpbinding – 2016-01-08 12:44:00