In the past I’ve written quite about some of the great projects for consuming REST based web services on iOS devices such as MKNetworkKit, AFNetworking, and RestKit.

On the weekend I received a question from a developer trying to work with a SOAP based web service asking about up to date available resources for iOS and Objective-C.

I haven’t written much about SOAP based web services, but if you have no choice other than to work with a SOAP based service directly within your apps here are a few choices.

An Easy Objective-C Project Generation Tool Using WSDL Files

The easiest way to go is to use a tool known as SudzC by Jason Kichline.

What SudzC allows you to do is upload a WSDL file for the SOAP based service, and it will automatically generate a working Xcode example project (complete with comments and document) including other source files for using the web service such as those for LibXML, and Jason’s own code for working with a SOAP based service.

Recently SudzC has been recently updated for the iOS 5 SDK and can now generate projects with support for ARC.

You can create the projects right on the SudzC website here.

SudzC is open source, and you can find the Github repo here.

An Example Project On Consuming Web Services

You can learn quite a bit looking through the generated project from SudzC, but you may also want to take a look at Adrian Kosmaczewski’s demonstration project written in Objective-C on consuming web services from an iOS application here.

A C++ Library

If you decide that you want to go the library route, one library that is recommended to those asking about consuming a SOAP based web service on the iOS paltform is Gsoap. I can’t understand why you’d want to go this route unless you are looking for a solution that would be similar across different platforms.

Hopefully this helps those working with a SOAP based web service.

Share this: Twitter

Email

Facebook

Reddit

More

Print

LinkedIn



Tumblr

Pinterest



Pocket

Telegram



WhatsApp

Skype



