HTTP Posts Pros: simple, fast, (usually) easy to maintain and very well understood by all web programmers. Cons: not currently cool
Web Services Pros: currently "cool" and give you buzzword compliance when talking to pseudo technical clients/managers. Pros: slow, inefficient, complex, often difficult to understand and consume. But if you've never written a web service, it's good to learn the technology on a simple example (like the one you have described). They're not all bad, it would just be better if they weren't so slow compared to HTTP posts. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kola Oyedeji Sent: Thursday, 2 February 2006 5:01 AM To: CFCDev@cfczone.org Subject: Re: [CFCDev] CFC-based Webservice vs HTTP Post one advantage to having a document centric approach is change - you are free to change the format of the xml document and still have the same method signature for your method - Every once in a while I see people having issues with cross platform webservices, most platforms can interpret an xml document returned as a string. On 2/1/06, John Samson <[EMAIL PROTECTED]> wrote: > 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 > > -- KOla BLOG:http://coolskool.blog-city.com/ SKYPE:kola.oyedeji ---------------------------------------------------------- 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 This email and any attachments to it are confidential. You must not use, disclose or act on the email if you are not the intended recipient. Liability limited by a scheme approved under Professional Standards Legislation. Deloitte is a member of Deloitte Touche Tohmatsu (a Swiss Verein). As a Swiss Verein (association), neither Deloitte Touche Tohmatsu nor any of its member firms has any liability for each other's acts or omissions. Each of the member firms is a separate and independent legal entity operating under the names "Deloitte", "Deloitte & Touche", "Deloitte Touche Tohmatsu", or other related names. Services are provided by the member firms or their subsidiaries and affiliates and not by the Deloitte Touche Tohmatsu Verein. ---------------------------------------------------------- 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