With the proper method (being able to generate WSDL) your Web Service can be consumed by other clients and/or in other languages. Using a custom approach breaks this "contract".
 
/Cody


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Samson
Sent: Wednesday, February 01, 2006 8:58 AM
To: CFCDev@cfczone.org
Subject: [CFCDev] CFC-based Webservice vs HTTP Post

We 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 cfcdev@cfczone.org 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/cfcdev@cfczone.org ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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/cfcdev@cfczone.org

Reply via email to