you do not actually have 2 and 3 as text inside your <cfinvoke> block, do you?
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 25/09/2009 02:30, Phillip Vector wrote: > So for the meantime, I've put my cfc directory in the web root on the > development server I use. > > I have the following code to call the cfc > > 1 > <cfinvoke component="cfc.filename" method="Read" returnvariable="User"> > 2 > <cfinvokeargument name="UserID" value="13204721-3474-8967-4897498740174013"> > 3 > </cfinvoke> > 4 > > I see the 1, but nothing else (which tells me cfinvoke is not working right). > > The filename is "filename.cfc" and is in the cfc directory (which is > directly off the web root where I'm calling this). > > The read function shows the following.. > > <cffunction name="Read" returntype="Query" access="remote"> > <cfargument name="UserID" type="string"> > <cfscript>var Data="";</cfscript> > <cfquery DATASOURCE="#DS#" name="Data"> > Select * > From Users > Where UserID=#UserID# > </cfquery> > <cfreturn Data> > </cffunction> > > Why isn't it working? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326599 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4