As opposed to returning a struct, return a CFC that has cfproperty tags for each key in this.
-Matt > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Nolan Erck > Sent: Thursday, August 19, 2004 4:12 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] bug in web services? intentional rule from MM? > > Thanks Matt. btw, is there a recommended practice for (instead of) > returning structures or queries? > > nolan > > -----Original Message----- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 11:51 AM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] bug in web services? intentional rule from MM? > > > > Is this intentional by Macromedia to make developers separate business > > logic from their data layer? A bug? Something else that I'm not > noticing > > because it's early and I'm uncaffeinated? > > > In one case there is a meta data provided via a cffunction signature > indicating the type of variable in the struct key. That is the difference > that makes all the difference. BTW, returning structs and for that matter > queries is NOT a best practice with web service since those types are not > interoperable. > > -Matt > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.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' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.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' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
