Can't do that. Need to provide the user of the webservice exactly what the webservice returns. I'm not about to hard-code stuff for every webservice that I want to provide.

What I'm doing is creating a webservice.cfc that implements interfaces to my factory. Based upon what functions in the factory that I want to provide as a webservice. However the functions in the factory change between applications and I don't want to have to write out a custom function in the webservice everytime I add a function to the factory.

Everything is in place if I can just catch the errors within the function. And that can't be done. :-(

Thanks for your reply.

Barney Boisvert wrote:

One solution would be to declare all your arguments as type="any", thereby
allowing anything in, and then do manual typechecking inside your method,
where you'd have full control to do whatever was necessary should the checks
fail.
----------------------------------------------------------
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]

Reply via email to