<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Passing parameters to an HTTPService</title>
	<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 03:15:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Naveen</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-16870</link>
		<author>Naveen</author>
		<pubDate>Mon, 24 Nov 2008 18:16:29 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-16870</guid>
		<description>Hi,

Your site has been really helpful to learn Flex, appreciate your time. I'm learning flex and I'm stuck here, not sure how to debug this issue. I do not get any error, but the DB is not getting inserted with the value. Any help on fixing the issue, will be great.

Below are the key codes:

 submit button code:
 

 addAnnouncement function code:

 private function addAnnouncement( evt:Event) :void{
 var selArr:Array = [];
 var oRequest:Object = new Object();
 var idx:int;
 var len:int = userRequest. lastResult. partners. partner.length;
 for (idx=0; idx

 
 
 
 INSERT INTO tblAnnouncement
 (strTitle, strContent, dtmOpenDate,
 dtmCloseDate, dtmAssignmentDueDat e )
 VALUES
 (,
  ,
  ,
  ,
  
 )
 
 

 i'm stuck here..not sure, where to look for the bug..i do not see
 any error..any help is really appreciated.

 -NB</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your site has been really helpful to learn Flex, appreciate your time. I&#8217;m learning flex and I&#8217;m stuck here, not sure how to debug this issue. I do not get any error, but the DB is not getting inserted with the value. Any help on fixing the issue, will be great.</p>
<p>Below are the key codes:</p>
<p> submit button code:</p>
<p> addAnnouncement function code:</p>
<p> private function addAnnouncement( evt:Event) :void{<br />
 var selArr:Array = [];<br />
 var oRequest:Object = new Object();<br />
 var idx:int;<br />
 var len:int = userRequest. lastResult. partners. partner.length;<br />
 for (idx=0; idx</p>
<p> INSERT INTO tblAnnouncement<br />
 (strTitle, strContent, dtmOpenDate,<br />
 dtmCloseDate, dtmAssignmentDueDat e )<br />
 VALUES<br />
 (,<br />
  ,<br />
  ,<br />
  ,</p>
<p> )</p>
<p> i&#8217;m stuck here..not sure, where to look for the bug..i do not see<br />
 any error..any help is really appreciated.</p>
<p> -NB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-16553</link>
		<author>Gustavo</author>
		<pubDate>Tue, 04 Nov 2008 03:14:12 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-16553</guid>
		<description>Hello, nice tutorial!

but why flashvars????

Tks!</description>
		<content:encoded><![CDATA[<p>Hello, nice tutorial!</p>
<p>but why flashvars????</p>
<p>Tks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandhya</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-15934</link>
		<author>sandhya</author>
		<pubDate>Mon, 29 Sep 2008 10:17:02 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-15934</guid>
		<description>Hi ,

Can u specify an example how to write httpservice in actionscript</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>Can u specify an example how to write httpservice in actionscript</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14981</link>
		<author>peterd</author>
		<pubDate>Wed, 27 Aug 2008 18:59:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14981</guid>
		<description>Yeah, looks like www.flash-mx.com is down.</description>
		<content:encoded><![CDATA[<p>Yeah, looks like <a href="http://www.flash-mx.com" rel="nofollow">www.flash-mx.com</a> is down.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Halfway there...</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14980</link>
		<author>Halfway there...</author>
		<pubDate>Wed, 27 Aug 2008 18:49:26 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14980</guid>
		<description>It's broken, I get a fault "channel security error".</description>
		<content:encoded><![CDATA[<p>It&#8217;s broken, I get a fault &#8220;channel security error&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqas</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14318</link>
		<author>Waqas</author>
		<pubDate>Thu, 24 Jul 2008 03:26:32 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-14318</guid>
		<description>I am having problem using HTTPService, Can u please help me for the problem mentioned on the link below?

http://board.flashkit.com/board/showthread.php?t=772909</description>
		<content:encoded><![CDATA[<p>I am having problem using HTTPService, Can u please help me for the problem mentioned on the link below?</p>
<p><a href="http://board.flashkit.com/board/showthread.php?t=772909" rel="nofollow">http://board.flashkit.com/board/showthread.php?t=772909</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liceven</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13141</link>
		<author>Liceven</author>
		<pubDate>Sat, 31 May 2008 08:42:26 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13141</guid>
		<description>ColdFusion MX 7
Maybe there is something wrong with the configuration.
Thanks very much Peterd.</description>
		<content:encoded><![CDATA[<p>ColdFusion MX 7<br />
Maybe there is something wrong with the configuration.<br />
Thanks very much Peterd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13138</link>
		<author>peterd</author>
		<pubDate>Sat, 31 May 2008 06:39:35 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13138</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13137" rel="nofollow"&gt;Liceven&lt;/a&gt;,

Looks like your ColdFusion server isn't parsing the .CFM templates for some reason. Which version of ColdFusion did you install?

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13137" rel="nofollow">Liceven</a>,</p>
<p>Looks like your ColdFusion server isn&#8217;t parsing the .CFM templates for some reason. Which version of ColdFusion did you install?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liceven</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13137</link>
		<author>Liceven</author>
		<pubDate>Sat, 31 May 2008 06:07:27 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13137</guid>
		<description>Hello,peterd,
     I copy all the files in folder /bin-debug/ to the same directory as the .cfm. And view the swf over http. It don't pop up the error dialog this time, but it doesn't display welcome information either.
    And i viewed the greetinng.cfm using IE browser. I found the return contents are different.
http://www.flash-mx.com/mm/greeting.cfm---&#62;welcomeMessage=Welcome%2C%20%5BMysterious%20Stranger%5D
whiel http://localhost:8080/flexweb/greeting.cfm returns welcomeMessage=#UrlEncodedFormat("Welcome, "&#38;Form.name)# 
why? i have little knowledge about coldfusion. so, thanks very much.</description>
		<content:encoded><![CDATA[<p>Hello,peterd,<br />
     I copy all the files in folder /bin-debug/ to the same directory as the .cfm. And view the swf over http. It don&#8217;t pop up the error dialog this time, but it doesn&#8217;t display welcome information either.<br />
    And i viewed the greetinng.cfm using IE browser. I found the return contents are different.<br />
<a href="http://www.flash-mx.com/mm/greeting.cfm---&gt;welcomeMessage=Welcome%2C%20%5BMysterious%20Stranger%5D" rel="nofollow">http://www.flash-mx.com/mm/greeting.cfm&#8212;&gt;welcomeMessage=Welcome%2C%20%5BMysterious%20Stranger%5D</a><br />
whiel <a href="http://localhost:8080/flexweb/greeting.cfm" rel="nofollow">http://localhost:8080/flexweb/greeting.cfm</a> returns welcomeMessage=#UrlEncodedFormat(&#8221;Welcome, &#8220;&amp;Form.name)#<br />
why? i have little knowledge about coldfusion. so, thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13115</link>
		<author>peterd</author>
		<pubDate>Fri, 30 May 2008 15:37:15 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/#comment-13115</guid>
		<description>&lt;a href="" rel="nofollow"&gt;Liceven&lt;/a&gt;,

You may be getting a security error if your SWF/HTML is using the file:/// protocol and your webservice/CFM is running on http://.
I'd start by copying the contents of the /bin-debug/ or /bin-release/ folders into the same directory as the .CFM file and view the sample over HTTP.

Peter</description>
		<content:encoded><![CDATA[<p><a href="" rel="nofollow">Liceven</a>,</p>
<p>You may be getting a security error if your SWF/HTML is using the <a href="file:///" rel="nofollow">file:///</a> protocol and your webservice/CFM is running on <a href="http://." rel="nofollow">http://.</a><br />
I&#8217;d start by copying the contents of the /bin-debug/ or /bin-release/ folders into the same directory as the .CFM file and view the sample over HTTP.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>
