Can an iOS app consume a WCF service using wsHttpBinding?

ε祈祈猫儿з 提交于 2019-12-11 11:08:19

问题


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

The client for now is WPF.

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).

Thanks.


回答1:


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).




回答2:


I researched a bit and from what I found, it is not possible (at least not easily), please inform me if there is a way

For security I followed the following solution, which fulfills my needs: Building .NET WCF service for iPhone with authentication



来源:https://stackoverflow.com/questions/10583414/can-an-ios-app-consume-a-wcf-service-using-wshttpbinding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!