Search code examples
iphoneioswcfweb-servicesnettcpbinding

How can consume NetTcpBinding .NET webservice in iOs?


I want to consume a webservice written in .NET from iPhone , it uses NetTcpBinding shows in wsdl. is it possible to consume webservice other than BasicHttpBinding from iphone?. If possible, How can i consume it?.


Solution

  • You can consume service exposed by netTcpBinding only by WCF clients (= .net). Any other client needs enormous effort to make this work because you will have to reimplement WCF's communication protocol.

    Even basicHttpBinding is not very good choice because iPhone has poor support for SOAP (check link provided by @Franchesca). The best choice is using REST service exposing POX (simple XML) or JSON with webHttpBinding as mentioned by @Valery Pavlov.