Calling CFC gives Error in Coldfusion

When a cfc component is called using CFinvoke and it is returning the error:

"Error Occurred While Processing Request
Could not find the template "the.component.name"

it is necessary to have a ColdFusion mapping created that points to the folder that the cfcs' are stored in. If the cfc is in the root, move it to the subfolder. This way, you insert that mapping name in the beginning of the CFINVOKE tag, like the following format:

cfinvoke component="mappingname.the.component.name.here"

Also having a folder with the name of /service will generate an Axis error.

Add Feedback