You should do a quick google search for "SOAP vs. REST webservices" to
find a lot of discussion about this subject.
In this case both approaches are about equivalent in terms of
development effort, but the CFC/SOAP/WSDL approach hides significantly more
complexity under the surface: it's as easy to write, but then CF performs all
kinds of wizardry under the surface. This can cause some headaches down the line
if the people on the other end of the wire experience anything other than
immediate success and decide to blame you and or cf for their worries (since, as
we all know, it's *always* the other guy's fault).
My suggestion is to write both, send them the links and ask them to pick
one, then stick with that approach from then on.
just my 0.02$ (after rebate)
/t
----------------------------------------------------------
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Samson
Sent: Wednesday, February 01, 2006 5:58 PM
To: [email protected]
Subject: [CFCDev] CFC-based Webservice vs HTTP PostWe need to set up a webservice that in response to a request returns details of approx 60 people. The attributes returned will be First Name, Last Name, Age.It seems clear cut to return this data as an XML document. But what are the (dis)advantages of writing a 'proper' CFC-based web service complete with generated WSDL file rather than the way I've traditionally done it: receive request, generate XML document, return to client?Are there any differences?John
Win a BlackBerry device from O2 with Yahoo!. Enter now. ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
