Re: Cocoa and SOAP without WebServicesCore
Re: Cocoa and SOAP without WebServicesCore
- Subject: Re: Cocoa and SOAP without WebServicesCore
- From: patrick machielse <email@hidden>
- Date: Fri, 15 Aug 2008 12:25:00 +0200
Op 15 aug 2008, om 01:07 heeft Rohan Lloyd het volgende geschreven:
On 13 Aug 2008, at 6:26 AM, patrick machielse wrote:
Does anyone have experiences with gSOAP on OS X, or know of a good
alternative?
A while back I was looking for a way to handle SOAP in Cocoa, and
couldn't really find anything... I experimented with using RubyCocoa
and accessing SOAP from ruby. I had never used ruby before, but I
got something working pretty quickly.
Sadly, the platform I need to deploy on doesn't officially support
scripting languages either, so I really need a C/Obj-C/++ solution.
At this time I've decided to 'roll my own' SOAP Cocoa stack.
Basically, it consists of a minimal abstract base class (to be shared
between projects) which communicates with the server and triggers
parsing of the returned xml. Concrete subclasses (one for each SOAP
method) construct the SOAP xml (using a simple string pattern) and
implement the NSXMLParser callbacks to retrieve the return value from
the server reply. I'm missing some conveniences but I can add those
when I need them. The complete solution is light-weight, only links
against Foundation, and should run on all systems I need to target.
Fingers crossed...
patrick
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden