Skip to main content
This topic has been closed for replies.

1 reply

Inspiring
October 7, 2012

The docs here seem wrong. If I don't specify a service mapping, I get this error:

No mapping found for path C:/ColdFusion10/cfusion/wwwroot/shared/CF/rest/encoding/api .

If mapping is not specified, path should point to application root directory.

The error occurred in C:/ColdFusion10/cfusion/wwwroot/shared/CF/rest/encoding/Application.cfc: line 10

8 :

9 : public void function onApplicationStart()

12 :

So it seems the serviceMapping is not "Optional. Alternate string to be used for application name while calling the REST service.", it's more some sort of path reference to where the CFCs are.

Also it doesn't say anything to the effect that if I don't specify the serviceMapping, then my dirPath needs to point to my application root.