You don't need to set up your CFC as a ssweb service. Simply set the access to "remote", then call it through the URL like so:
http://www.yourdomain.com/includes/yourCode.cfc?method=methodName&arguments= value <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Max Hamby [mailto:[EMAIL PROTECTED] Sent: Saturday, December 02, 2006 9:06 AM To: CF-Talk Subject: Re: turn off ability to call a cfc thru URL? Are you sure about that?! I've used this method several times on development and production servers and have never needed to set the CFC up as a web service. Can anyone else confirm? ~Max On 12/2/06, Snake <[EMAIL PROTECTED]> wrote: > > You must have your CFC setup as a web service, as you cannot execute a CFC > via the URL otherwise. > > -----Original Message----- > From: Max Hamby [mailto:[EMAIL PROTECTED] > Sent: 02 December 2006 05:03 > To: CF-Talk > Subject: turn off ability to call a cfc thru URL? > > I know you can call a cfc and method and pass params using through a URL ( > i.e. - blah/blah/foo.cfc?method=test&var=1). > > Is it possible for a hosting company to turn off that ability? I had it up > and running where I call a controller.cfc using javascript. If I try to > plug > the url directly in, I get "page not found". > > Just a little stumped, > > Max > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

