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?
Asked
Active
Viewed 5,353 times
3 Answers
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
-
but what i think is that iphone sdk does not support SOAP messages. – Harjot Singh Jul 12 '10 at 11:42
-
1Have a look at the link. It points you to http://code.google.com/p/wsdl2objc/ which creates Objective C code for calling a SOAP endpoint. – Samuel Jack Jul 12 '10 at 12:00
1

IBhadelia
- 291
- 1
- 5
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