Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RestInitApplication

Explorer ,
Oct 07, 2012 Oct 07, 2012
497
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 07, 2012 Oct 07, 2012
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources