1

I want to develop a system that a Iphone application can access my database through the wcf service. I am new wcf services and i want to know which service should i make (rest or ?) and why and they communicate with each other?

Samuel Jack
  • 32,712
  • 16
  • 118
  • 155
Harjot Singh
  • 29
  • 1
  • 3

3 Answers3

3

WCF Services are at heart SOAP Web Services. So you should be able to use an iPhone SOAP client library. See How to access SOAP services from iPhone.

Community
  • 1
  • 1
Samuel Jack
  • 32,712
  • 16
  • 118
  • 155
0

I have had to make an app hit both a vanilla wcf and a wcf with rest support and the rest support is the way to go.

With rest, it was easier to just generate a standard web request in the app and get back XML that fed an NSXmlParser. There was no crazy soap request building. But then again, i didnt write the non-rest wcf service so maybe it just had configuration issues which made it more difficult.

The wcf rest service I wrote used the wcf rest starter kit from http://www.asp.net/downloads/starter-kits/wcf-rest

AtomRiot
  • 1,869
  • 3
  • 18
  • 24