WCF: Is WsHttpBinding compatible?

As the title says ... right now I'm using BasicHttpBinding, but I'm wondering if I can switch to WSHttpBinding and still interact with, for example, Java.

+4
source share
2 answers

wsHttpBinding and the new ws2007HttpBinding implement the WS- * standards. You may need to configure the parts to interact with your specific customers.

+4
source

WSHttpBinding offers many features, but at the same time, it uses Windows authentication by default, SPNego service credential negotiation, and WS-SecureConversation security credentials. Windows authentication and SPNego are not good candidates for compatibility, and secure conversations should not be provided by older SOAP packages.

So the answer is "it depends." Usually you need to configure WSHttpBinding to interact with Java. In addition, you do not have “full” control over the protocols used (especially for the security part), so sometimes you will use a user binding for interaction.

+3
source

Source: https://habr.com/ru/post/1343364/


All Articles