I see Dave and Ben are online.....you two must have the answer I'm after ;-)
Cheers 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 ----- Original Message ----- From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, July 12, 2005 11:16 AM Subject: Web service caling local CFC > 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:211670 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

