|
If this is a true webservice with WSDL and all that, than the payloadsI don't know that I call SOAP simpler than JSON, but it's more
are XML, and usually with children not attributes. As Joe mentioned,
it's definitely "efficiency challenged" (nice phrase), but it's also the
simplest, and there's something to be said for simplicity when working
between machines and technologies.
If the response is for an Ajax request then we go the JSON approach. Not
only because the size is (typically) smaller, but because it's really
nice to be able to rehydrate a complete object graph on the browser with
a simple eval statement (or in our case Prototype's
Ajax.Response.responseJSON property)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.