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 PROTECTED]
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to