Hi All,

I know this is a simple question, but I can't seem to get it working:

I have a CFC, hosted at MediaTemple, that lives at http://www.twoedge.net/clients/tpg/seavestinc/webservices/com/ seavestinc/property_explorer.cfc

When I call methods on it from Flash I use the service name "clients.tpg.seavestinc.webservices.com.seavestinc.property_explorer" and it works fine.

Now I have a .cfm document that lives in a different directory from which I want to invoke a method of my cfc. The .cfm document lives at: http://www.twoedge.net/clients/tpg/seavestinc/flash/ property_explorer.cfm?propertyID=1

I have the following code in the .cfm document:

<cfinvoke
component="clients.tpg.seavestinc.webservices.com.seavestinc.property_ex plorer"
method="getPropertyName"
returnVariable="propertyname">
<cfinvokeargument
name="id"
value="#URL.propertyID#">
<cfoutput>#propertyname#</cfoutput>


But I get this error:
Could not find the ColdFusion Component clients.tpg.seavestinc.webservices.com.seavestinc.property_explorer.


I assume that this is because the name of the component package is relative to where it is being called, but I am not sure how to name this one correctly... (how do you do a "../" in a component name?)

Thank-you for your help.

blue skies,
bryan

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to