0

I am implementing an application that displays data which is coming from a back end server. The back end server is using WCF for writing web services. I am not familiar with that WCF.

What can I try to resolve this?

halfer
  • 19,824
  • 17
  • 99
  • 186
Sekhar Bhetalam
  • 4,501
  • 6
  • 33
  • 52
  • Do you need to implement the WCF services and enpdoints or do you just need to consume them? – goatshepard Sep 03 '12 at 04:01
  • @MichaelDelano I just need to consume the service. I need to call the service and get the data from the service. Could you please let me know how can I call the service? – Sekhar Bhetalam Sep 03 '12 at 04:13

2 Answers2

1

If your WCF application is configured to be a SOAP service, then any SOAP libraries for iOS can be used.

linquize
  • 19,828
  • 10
  • 59
  • 83
0

You can make HTTP or SOAP requests to WCF. Given an HTTP request, for example, you could test it using cUrl. In it's simplest form, a cUrl get request is as follows:

curl http://stackoverflow.com

You very well may need to make POST or PUT request. If so you can review the docs here: http://curl.haxx.se/docs/httpscripting.html. I've included an example POST request using cUrl:

curl -X POST -H 'Content-type: text/xml' -d <YOUR PAYLOAD HERE> http://stackoverflow/fakepost

There a loads of ways to make HTTP requests, cUrl is just a client for doing so.

The following describes an iOS implementation of a POST request: iOS: how to perform a HTTP POST request? .

Community
  • 1
  • 1
goatshepard
  • 1,063
  • 1
  • 8
  • 18