Op 13 aug 2008, om 10:33 heeft Thomas Engelmeier het volgende geschreven:

Am 12.08.2008 um 22:26 schrieb patrick machielse:

Now I find myself having to deploy to a platform where not even this feeble API is available. I've been investigating alternatives, and found the gSOAP library, which at the moment looks like the best candidate. However, ideally I would like to use a pure Cocoa solution, or a project which has existing Cocoa wrappers. Does anyone have experiences with gSOAP on OS X, or know of a good alternative?

a.) it works but can be hell if you have to debug, especially if you have to load 100kb+ generated source files in Xcode.

Hmm, thanks for the warning. On the other hand, the documentation of gSOAP, and the available recourses on the web, seem to be far superior to what's available for WebServicesCore.

b.) IANAL, but a Cocoa enabled platform w/o WSCore might be in conflict with the GPL the royalty-free usage of gSOAP demands IIRC.

gSOAP is available under several licenses (and is used by big name software houses) so I believe this should not be a problem (knock on wood...)

c.) Alternatives also depend on how many calls the target API has.

creating the comm with a combination of printf' to a XML template string, NSURLRequest and parsing results with libXML takes another amount of time. Sometimes the later is more effective (e.g. for some primitive "gimme weather at ZIP code 12345" SOAP API).

I have been considering this approach, and it could work for the simpler cases. However, I need to interact with more mature services as well, API that will return complex types and structured data, and it would be nice to have a more robust mechanism under the hood that would handle server communication, authentication, and the conversion to and from Cocoa objects automatically.

Thanks,
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