So, I've got a cfc method that, as part of the code, does a cfmodule call...
<cfmodule template="/thisIsAMapping/foo/moo.cfm">
Anyway, calling this CFC works just fine, but once I switch to calling it as
a web service, I get an error:
CFCInvocationException:
[coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException : Could
not find the included template /xxx/customtags/coapi/objectgetmultiple.cfm.]
To make it a bit clearer, in the method I wrapped the cfmodule call w/
try/catch and got a clearer error:
Could not find the included template
/xxx/customtags/coapi/objectgetmultiple.cfm.Note: If you wish to use an
absolute template path (e.g. TEMPLATE="/mypath/index.cfm") with CFINCLUDE
then you must create a mapping for the path using the ColdFusion
Administrator. Using relative paths (e.g. TEMPLATE="index.cfm" or
TEMPLATE="../index.cfm") does not require the creation of any special
mappings. It is therefore recommended that you use relative paths with
CFINCLUDE whenever possible.
Of course, xxx _is_ a valid mapping.
Anyone seen anything like this before?
===========================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
Email : [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
----------------------------------------------------------
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]