Hey Brian,

Maybe try adding a ColdFusion mapping called "appCFCs" to wherever the
appCFCs directory is - I've had issues with CFC resolution in
containers other than CFM where I've needed explicit mappings, namely
remote gateways.

-Joe

On 7/12/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> Hey All,
> 
> An associate is having an issue with a web service calling a method in a 
> local CFC.  Both the web service and the local CFC are on the same server 
> just different directories.  Of course the local CFC uses access="public" and 
> the web service CFC uses access="remote".
> 
> There is a CF mapping to the local CFC called "appCFCs"
> 
> Any local CF templates calling the local CFC work just fine using the code 
> below:
> 
> <cfinvoke
>   component="appCFCs.FOS.groundfish"
>   method="getActivity"
>   user="#userid#"
>   pwd="#passwd#"
>   act_id="#url.act_id#"
>   trip_act_id="#url.trip_act_id#"
>   pd_id="#url.pd_id#"
>   act_verify_no="#url.act_verify_no#"
>   actyp_cde="#url.actyp_cde#"
>   returnvariable="qryAct">
> 
> When the web service cals the same method in the CFC above it uses:
> 
> <cfinvoke
>   component="appCFCs.FOS.groundfish"
>   method="getActivity"
>   user="#arguments.user#"
>   pwd="#arguments.pwd#"
>   act_id="#arguments.act_id#"
>   trip_act_id="#arguments.trip_act_id#"
>   pd_id="#arguments.pd_id#"
>   act_verify_no="#arguments.act_verify_no#"
>   actyp_cde="#arguments.actyp_cde#"
>   returnvariable="qryAct">
> 
> The call above generates an error: "Could not find the ColdFusion Component 
> appCFCs.FOS.groundfish"
> 
> NOTE: The web service is in a different directory on the server than the 
> local CFC as it will be SSL secured (but isn't currently)
> 
> Personally I've never had a web service cal a local CFC, but I have had local 
> CFCs call each other with not problems....so I'm not quite sure why this is 
> happening.
> 
> Any thoughts?
> 
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211649
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to