<--- --------------------------------------------------------------------------------------- ---- Blog Entry: My First ColdFusion Web Service Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?dax=blog:430.view Date Posted: Dec 12, 2006 at 8:30 AM ---- --------------------------------------------------------------------------------------- ---> // Check to see if the target page is in the web services // directory. If it is, then we want to delete the OnRequest // event handler so the web service has access. if (ExpandPath( GetDirectoryFromPath( ARGUMENTS.TargetPage ) ) EQ APPLICATION.ServiceFactory.GetConfig().GetFullPaths().WebServices){ // Delete the on request event handler. StructDelete( THIS, "OnRequest" ); // Delete the on request end handler. StructDelete( THIS, "OnRequestEnd" ); }