与WSHttpBinding等效的自定义WCF绑定,其中WS-Addressing已关闭 [英] Custom WCF Binding equivalent to WSHttpBinding with WS-Addressing turned off
本文介绍了与WSHttpBinding等效的自定义WCF绑定,其中WS-Addressing已关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试创建需要Java客户端使用的WCF服务. Java客户端的要求是禁用WS-Addressing.我必须使用WSHttpBinding.首先,我对此有些陌生.我在网上做了一些快速搜索,但无法确定这是否是正确的解决方案.有人可以给我指出正确的方向吗?
I am trying to create a WCF service that needs to be consumed by a Java client. Requirements from the Java client is to disable WS-Addressing. I must have to use WSHttpBinding. First of all I am bit new to this. I did some quick search online but was not able to figure out if that is the correct solution. Can somebody please point me to right direction ?
谢谢
推荐答案
使用 http://webservices20.cloudapp.net/.您没有指定所需的安全性.一种选择是
Use http://webservices20.cloudapp.net/ for such issues. You did not specify which security you need. One option is
<!-- generated via Yaron Naveh's http://webservices20.blogspot.com/ -->
<customBinding>
<binding name="NewBinding0">
<transactionFlow />
<security authenticationMode="UserNameOverTransport" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10" />
<textMessageEncoding messageVersion="Soap12" />
<httpsTransport />
</binding>
</customBinding>
<!-- generated via Yaron Naveh's http://webservices20.blogspot.com/ -->
这篇关于与WSHttpBinding等效的自定义WCF绑定,其中WS-Addressing已关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文