CF2016, IIS 8.5 and REST Services not working
Hi,
I'm not able get my REST service to work... I get a 404 when I call the URL.
I'm running Win 2012 R2, CF2016 Enterprise, IIS 8.5 webserver.
Directory looks like this
C:\ColdFusion2016\cfusion\wwwroot\test
CODE - "hello.cfc"
component rest="true" restpath="/helloTest"{ remote string function sayHello() httpMethod="get" { return "Hello World"; } }The coldfusion ADMIN setup looks like this
Root path: 'C:\ColdFusion2016\cfusion\wwwroot\test' Service Mapping: 'test'
I get a green 'success' message when I set that path
Browse to -
http://127.0.0.1/rest/test/helloTest
result - 404
What am I doing wrong? I have tried the same without IIS but no luck. Can any one give me suggestion on this issue?
Thanks in Advance.
