At 01:33 PM 6/3/2004, you wrote: >I may be missing something, but isn't the idea behind webservices that >it is up to the consumer to supply the right arguments and handle any >errors that occur from not doing so? > >-dave
Absolutely...and this was my next comment. But, I think Bryan wanted to avoid having CF throw an error to the "screen". I was under the impression that if the supplied arguments weren't typed correctly, then a SOAP Fault would be thrown. In this case, it would be up to the SOAP client to handle the exception (as it should!). Am I wrong, here? -- Alex >>>> [EMAIL PROTECTED] 6/3/2004 1:21:53 PM >>> >If the return type of the function is query, I need to return a error >as >a query object. If it is a struct, I have to return it as a struct. If > >it is a string I will return it as xml. > >If the returntype is any, then I will have to create a custom >documentor >that will expose the service documentation to the user. > >I do not want to go through all that for every function that I want to > >be able to provide as a service. And I am unwilling to go through that > >many hoops because those hoops would have to be documented for the >framework. That is just too much overhead to provide functions as a >webservice autormatically. > >Thanks for the ideas. >---------------------------------------------------------- >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]
