Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Using gSOAP on iOS

Hello Folks,


I'm trying to develop an iOS application that will strongly depend on an access to Web Service - SOAP. From what I have seen so far, it looks like Apple doesn't has a SOAP framework - other than writting extensive code to deal with SOAP.


By searching on the internet, I have found the following SOAP client code generator:


http://code.google.com/p/wsdl2objc - I have done a simple test on this one, it worked fine for simple - http://www.webservicex.net/geoipservice.asmx?WSDL - by the other hand the developer activities seems to be stopped since 2009.


http://sudzc.com - I haven't tested this one because it doesn't seems to support generating SOAP client code from WSDL file - offline.


http://www.cs.fsu.edu/~engelen/soap.html - I like this one, it seems to be stable, actively mantained. The other thing that like on this one is the fact that C/C++ functions/objects can be used in both Java and Object C.


Does anyone managed to use gSOAP generated code - http://www.cs.fsu.edu/~engelen/soap.html - within iOS application to access an SOAP Web Service? I'm accepting advices/suggestions from anyone that has experience developing iOS SOAP client.


Regards,

ANx

iPhone 4, iOS 5

Posted on Mar 11, 2012 5:35 AM

Reply
4 replies

Mar 11, 2012 10:23 AM in response to anxanywhere

All I could do is Google searches. I've never used SOAP on iOS. I have used it on other systems. I used a library called EasySOAP at one point. It is a dead project made with very poor C++, but it does work. I used it on MacOS, OS X, and Windows. Remember, this is SOAP. You don't have to restrict yourself to libraries that are actively under development. SOAP is already dead so there is no harm in using a dead library.


Supporting WSDL would be nice to have, but few libraries did that well. The last time I used SOAP I just built my own WSDL parser in Perl. It was easier to do that than try to get any of the official libraries to work. You really don't need WSDL anyway. No one is going to be actively updating any SOAP interface these days. You can read the WSDL and manually construct the calls you need.

Using gSOAP on iOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.