How to Determine CFC Method Called From OnRequestStart?

2009-07-11 Thread Matthew Reinbold
I'm currently trying to add logging to a webservice I've created. I'm not crazy about numerous lines of cflog inside the webservice itself; it seemed that I should be able to put a single line in the application.cfc's OnRequestStart method (not OnRequest as that won't work for remote calls)

Re: How to Determine CFC Method Called From OnRequestStart?

2009-07-11 Thread James Holmes
You could try to put the logging in one place in the webservice cfc; in the pseudo-constructor area. Since that's in the CFC, perhaps isSOAPRequest() will work there (too lazy to check). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/11 Matthew