wshttpbinding仅适用于.net客户端? [英] wshttpbinding is only for .net clients?

查看:140
本文介绍了wshttpbinding仅适用于.net客户端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

wsHttpBinding 仅针对 .NET客户端吗?

因为在wsHttpBinding中启用了默认安全性,所以数据通过加密传输。
那么非.NET客户端(如 java或php )如何使用此类WCF服务?

Because in wsHttpBinding default security is enabled, so data transferred with encryption. So how can non-.NET clients (like java or php) consume such WCF services?

推荐答案

正如Jeroen所说,默认情况下,wsHttpBinding默认为邮件安全性和Windows凭据

As Jeroen says by default wsHttpBinding defaults to message security and windows credentials

对于非Windows客户端,您需要更改身份验证模式。但是,如果您保持消息安全性,则还需要任何使用工具包来实现WS-Security(以及WS-Trust / WS-SecureConversation)。

For non-Windows clients you will need to change the authentication mode. However, if you stay with message security you also need any consuming toolkit to have an implementation of WS-Security (and WS-Trust / WS-SecureConversation).

你使用wsHttpBinding的哪些功能意味着basicHttpBinding不合适? BasicHttpBinding是一个更简单的绑定,可以在互操作场景中工作

What features of wsHttpBinding are you using that means basicHttpBinding isn't appropriate? BasicHttpBinding is a simpler binding to get working in interop scenarios

这篇关于wshttpbinding仅适用于.net客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆