iOS应用程序可以使用wsHttpBinding使用WCF服务吗? [英] Can an iOS app consume a WCF service using wsHttpBinding?

查看:89
本文介绍了iOS应用程序可以使用wsHttpBinding使用WCF服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在构建一个具有wsHttpBinding端点的WCF服务.

I am building a WCF service now, that has a wsHttpBinding endpoint.

现在的客户端是WPF.

The client for now is WPF.

我想知道将来是否可以开发一个能够连接到我的WCF服务端点的iOS应用程序(它必须是wsHttpBinding,因为我需要安全性,可靠性和有序消息传递)

I would like to know if in the future, it would be possible to develop an iOS application that would be able to connect to my WCF service endpoint (it has to be wsHttpBinding, because I need security, reliability and ordered messaging).

谢谢.

推荐答案

通常不是,但这取决于您配置WSHttpBinding的方式.如果您几乎可以肯定地使用任何消息级别的安全性,就无法从iOS调用它.我是说几乎b/c iOS在http上都支持sendins soap,并且某些情况(useranme)并不复杂,因此从理论上讲,您可以手动将它们推入soap.但是在大多数情况下,basicHttpBinding更好(并且也更喜欢传输安全性).

Usually not, but it depends how you configure the WSHttpBinding. If you use any kind of message level security almost surely you will not be able to call it from iOS. I'm saying almost b/c iOS supports sendins soap over http and some of the scenarios (useranme) are not complex so in theory you could manually push them to the soap. But for the most part basicHttpBinding is better (and also prefer transport security).

这篇关于iOS应用程序可以使用wsHttpBinding使用WCF服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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