How to access SOAP services from iPhone

后端 未结 7 1375
无人共我
无人共我 2020-11-22 09:34

I\'m planning to develop an app for the iPhone and that app would have to access a couple of SOAP services. While doing some basic checking in the iPhone SDK I was not able

7条回答
  •  日久生厌
    2020-11-22 10:21

    One word: Don't.

    OK obviously that isn't a real answer. But still SOAP should be avoided at all costs. ;-) Is it possible to add a proxy server between the iPhone and the web service? Perhaps something that converts REST into SOAP for you?

    You could try CSOAP, a SOAP library that depends on libxml2 (which is included in the iPhone SDK).

    I've written my own SOAP framework for OSX. However it is not actively maintained and will require some time to port to the iPhone (you'll need to replace NSXML with TouchXML for a start)

提交回复
热议问题