My 2 bits of know how: Well you can access it has http://myserver/full_path/myfile.cfc?method=some_method For that the full_path should be from web root onwards (no CF mapping allowed here) Second the access for function should be remote. I don't see that in your example
-nitish 2011/11/14 Alan Holden <[email protected]> > ** > Check system permissions on the file. > > How are you invoking the cfc? Is there a cfm file that's consuming this > service, and what does *that* code look like? > > I don't think you can just call a component - like > http://myserver.myfile.cfc > > Try calling your cfc with the ?wsdl query string on the end of the url, > and see if you at least get a proper definitions xml doc. > > Like http://myserver.myfile.cfc?wsdl > > Al > > > On 11/13/2011 6:33 PM, Travis wrote: > > I'm getting this error when I try to access a CFC. > ******************************************************** > HTTP ERROR 403 > > Problem accessing /practice/oop/greetings.cfc. Reason: > > Forbidden > ******************************************************** > > All I'm trying to do is run a simple CFC. > > component > displayname="greetings" > { > function sayHello() { > // the CFML code for the method will go here > var strHelloMessage='Hello World'; > return strHelloMessage; > } > } > > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en > -- -Nitish "Faith is a free Option" http://www.forcesofindia.com/profiles/np -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
