Search code examples
ioswcfwshttpbinding

Can an iOS app consume a WCF service using wsHttpBinding?


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.


Solution

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