<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: HOWTO: Call CF from the command line</title>
	<atom:link href="http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/</link>
	<description>Music, Politics and Code</description>
	<pubDate>Sat, 13 Mar 2010 21:32:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ahamad</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-18809</link>
		<dc:creator>Ahamad</dc:creator>
		<pubDate>Mon, 25 Aug 2008 14:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-18809</guid>
		<description>Hi,
I have posted a simple example on onMissingmethod here.

http://cf-examples.net/index.cfm/2008/8/25/onMissingMethod-Example</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have posted a simple example on onMissingmethod here.</p>
<p><a href="http://cf-examples.net/index.cfm/2008/8/25/onMissingMethod-Example" rel="nofollow">http://cf-examples.net/index.cfm/2008/8/25/onMissingMethod-Example</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier Julio</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-127</link>
		<dc:creator>Javier Julio</dc:creator>
		<pubDate>Wed, 13 Feb 2008 17:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-127</guid>
		<description>Unfortunately, it does not work. Sorry I have replied so late. I thought I had made my comment elsewhere. I meant to say "method" in the previous comment by the way instead of "message".

I've set the onMissingMethod function to both remote and public but I'll still get a CF error saying my method was not found.

Is it possible that this could be added in via an updater or maybe the next release of CF? It's a great addition to be able to call CFC methods directly via the URL. I love this CURL example since everyone here at my job uses it to interact with the services we build.</description>
		<content:encoded><![CDATA[<p>Unfortunately, it does not work. Sorry I have replied so late. I thought I had made my comment elsewhere. I meant to say &#8220;method&#8221; in the previous comment by the way instead of &#8220;message&#8221;.</p>
<p>I&#8217;ve set the onMissingMethod function to both remote and public but I&#8217;ll still get a CF error saying my method was not found.</p>
<p>Is it possible that this could be added in via an updater or maybe the next release of CF? It&#8217;s a great addition to be able to call CFC methods directly via the URL. I love this CURL example since everyone here at my job uses it to interact with the services we build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-129</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Fri, 18 Jan 2008 23:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-129</guid>
		<description>Javier - if I remember right, onMissingMethod will work fine, just so long as you provide a method name to invoke via the 'method' attribute on the URL; a plain URL without a method attribute may fail. Try it and do let me know how it works out. Sorry I can't provide a definitive answer - it's been over 6 months since I last looked at the CF source code!</description>
		<content:encoded><![CDATA[<p>Javier - if I remember right, onMissingMethod will work fine, just so long as you provide a method name to invoke via the &#8216;method&#8217; attribute on the URL; a plain URL without a method attribute may fail. Try it and do let me know how it works out. Sorry I can&#8217;t provide a definitive answer - it&#8217;s been over 6 months since I last looked at the CF source code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier Julio</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-128</link>
		<dc:creator>Javier Julio</dc:creator>
		<pubDate>Fri, 18 Jan 2008 21:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-128</guid>
		<description>@Ashwin

I've set up a sample CFC to test out this feature and it works great. I've noticed that if an Application.cfm or Application.cfc (with onRequestStart) exists those files/functions are called. I was wondering then if onMissingMethod would fire if I did not type in a message in the query string?</description>
		<content:encoded><![CDATA[<p>@Ashwin</p>
<p>I&#8217;ve set up a sample CFC to test out this feature and it works great. I&#8217;ve noticed that if an Application.cfm or Application.cfc (with onRequestStart) exists those files/functions are called. I was wondering then if onMissingMethod would fire if I did not type in a message in the query string?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-122</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Wed, 06 Jun 2007 04:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-122</guid>
		<description>Thanks again, Jeremy - I didn't know that the escape character could be specified to sed.</description>
		<content:encoded><![CDATA[<p>Thanks again, Jeremy - I didn&#8217;t know that the escape character could be specified to sed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Rottman</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-123</link>
		<dc:creator>Jeremy Rottman</dc:creator>
		<pubDate>Tue, 05 Jun 2007 17:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-123</guid>
		<description>Actually you can escape with any char you want to. It just has to be the first char trailing s.

However, with certain versions of sed on certain distro's it truly only works with \


IE
callto=`echo $1 &#124; sed `s*\.*/*g`</description>
		<content:encoded><![CDATA[<p>Actually you can escape with any char you want to. It just has to be the first char trailing s.</p>
<p>However, with certain versions of sed on certain distro&#8217;s it truly only works with \</p>
<p>IE<br />
callto=`echo $1 | sed `s*\.*/*g`</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-126</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Sat, 02 Jun 2007 04:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-126</guid>
		<description>Thanks, Jeremy. I think the escaping with \ is a generic requirement - for some reason my blog editor stripped them out, and I didn't notice. Fixed now.</description>
		<content:encoded><![CDATA[<p>Thanks, Jeremy. I think the escaping with \ is a generic requirement - for some reason my blog editor stripped them out, and I didn&#8217;t notice. Fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Rottman</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-125</link>
		<dc:creator>Jeremy Rottman</dc:creator>
		<pubDate>Fri, 01 Jun 2007 19:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-125</guid>
		<description>Very cool topic, I have been asked this very thing quite a few times.

One thing to point out. Depending on your version of sed and your distro you may need to alter your sed command some.

For example, on centos 5.* running sed 4.1.5 you have you escape any special chars with \.

So your callto var would look something like this.

callto=`echo $1 &#124; sed -e 's/\./\//g'`</description>
		<content:encoded><![CDATA[<p>Very cool topic, I have been asked this very thing quite a few times.</p>
<p>One thing to point out. Depending on your version of sed and your distro you may need to alter your sed command some.</p>
<p>For example, on centos 5.* running sed 4.1.5 you have you escape any special chars with \.</p>
<p>So your callto var would look something like this.</p>
<p>callto=`echo $1 | sed -e &#8217;s/\./\//g&#8217;`</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Build It Smarter</title>
		<link>http://blogs.sanmathi.org/ashwin/2006/09/14/howto-call-cf-from-the-command-line/#comment-124</link>
		<dc:creator>Build It Smarter</dc:creator>
		<pubDate>Thu, 31 May 2007 20:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=48#comment-124</guid>
		<description>&lt;strong&gt;Calling CF from a command line?...&lt;/strong&gt;

While looking over Ashwin Matthew's ColdFusion blog posts, I caught this gem on calling CF from a command line interface (CLI). I have always wanted to use this exact feature but always presumed that it wasn't possible. But now that......</description>
		<content:encoded><![CDATA[<p><strong>Calling CF from a command line?&#8230;</strong></p>
<p>While looking over Ashwin Matthew&#8217;s ColdFusion blog posts, I caught this gem on calling CF from a command line interface (CLI). I have always wanted to use this exact feature but always presumed that it wasn&#8217;t possible. But now that&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
