> On Fri, Nov 28, 2008 at 10:59 AM, Hugo Ahlenius wrote: > Is there any > way that the processing (e.g. OnRequestStart) can know about the > request to figure out if it is a web service call (calling a > component as a web service) or a normal/plain .cfm request? I guess > one can always parse this from the CGI path variables - just curious > if anyone knew about any more "clean" way... > > IsSOAPRequest(): > http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_in-k_32.html#5052211 >
Works if called inside the webservice CFC ... unfortunately doesn't work if called from outside the CFC, such as in the onRequestStart. Not sure what Hugo's use case is. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4