The only thing that stands out with this component is that it is on another server. There is a mapping in the cfadministrator which uses a UNC path to the networked server. I use this mapping to call the component, where "lfcomponents" is a CF mapping that equals = "\\Lfmail\lfV2WebFiles\components\".
<cfinvoke component="lfcomponents.lfUserMenuMaster" method="DeleteUserMenu" usr_id="#CampaignStruct.usr_id#" extendedID="#CampaignStruct.extendedID#" extendedID2="#CampaignStruct.extendedID2#" fileroot="#request.ControllerSettings.fileroot#"> The above code is found inside another component, which can be called as a component or a webservice. When I call it as a component, it works fine. When I call it as a webservice, it fails. The pertinent part of the error message is: Could not find the template lfcomponents.lfusermenumaster] at coldfusion.xml.rpc.CFComponentSkeleton.__createCFCInvocationException(Unknow n Source) at lfdistributedEmailController.lfEmailCentralController.PostDeliveryActions(lf EmailCentralController.java:30) Any ideas why this is? Maybe the CF Mapping is not available to the web service? Brook Davies At 09:57 AM 20/11/02 -0800, you wrote: >On Tuesday, Nov 19, 2002, at 22:31 US/Pacific, Brook Davies wrote: > > What I meant by this post, is that I have a component which in turn > > uses > > <cfinvoke> to invoke another component. This works fine when the > > containing > > component is called locally. > > > > But when I try to call it as a webservice, I get an error. If I remove > > the > > component reference within the web service component, then it works. > >We do this all the time (have a web service that calls other >components) so it definitely works just fine. Can you show us a simple >code example that fails? > >Sean A Corfield -- Director, Architecture >Web Technology Group -- Macromedia, Inc. >tel: (415) 252-2287 -- cell: (415) 717-8473 >aim: seancorfield -- http://www.macromedia.com >An Architect's View -- http://www.corfield.org/blog/ > >Introducing Macromedia Contribute. Web publishing for everyone. >Learn more at http://www.macromedia.com/contribute > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm