Do you have a CF Mapping setup pointing to mycomponents/ ?

Then you can access the component in the ws by calling something like

var oFoo = CreateObject("Component", "mycompents.mycfc");

HTH

Mike

----- Original Message -----
From: Alistair Davidson <[EMAIL PROTECTED]>
Date: Mon, 12 Jul 2004 11:56:16 +0100
Subject: Webservice returning CFC in a different directory
To: CF-Talk <[EMAIL PROTECTED]>

Morning all

I've been tearing my hair out with this one:
I have a complex application with lots of CFCs that we want to
web-service.

The CFCs are in a directory outside the webroot, with a mapping set up
to it : call it /mycomponents/

I have a directory /ws/ under the webroot with it's own Application.cfm,
where I've put the webservice interface CFCs
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to