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

Reply via email to