• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and SOAP without WebServicesCore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and SOAP without WebServicesCore


  • Subject: Re: Cocoa and SOAP without WebServicesCore
  • From: Thomas Engelmeier <email@hidden>
  • Date: Wed, 13 Aug 2008 14:15:49 +0200


Am 13.08.2008 um 11:06 schrieb patrick machielse:

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.

Yepp, still it's not a lightweight addition. IIRC I had some internal (resolvable) typedef conflicts compiling using CodeWarrior, and some sorts of trouble until generated stubs from some WSDL were OK.


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...)

I reread them and the MPL derivate seems to be fine. I wasn't aware of that option.


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.

Except for the later you probably will be fine.. Automatic Cocoa (de-)serialisation won't happen, you´ll need to write adapters manually for that.


Regards,
	Tom_E


_______________________________________________

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


References: 
 >Cocoa and SOAP without WebServicesCore (From: patrick machielse <email@hidden>)
 >Re: Cocoa and SOAP without WebServicesCore (From: Thomas Engelmeier <email@hidden>)
 >Re: Cocoa and SOAP without WebServicesCore (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: DICOM images in Cocoa
  • Next by Date: Detect when another application goes into full screen mode or when dock becomes hidden
  • Previous by thread: Re: Cocoa and SOAP without WebServicesCore
  • Next by thread: Re: Cocoa and SOAP without WebServicesCore
  • Index(es):
    • Date
    • Thread