<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AMFPHP Browser syntax for testing services.</title>
	<atom:link href="http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Wed, 19 May 2010 07:10:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: eMx</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-1663</link>
		<dc:creator>eMx</dc:creator>
		<pubDate>Tue, 24 Mar 2009 16:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-1663</guid>
		<description>marchin &#039;s technique worked for me</description>
		<content:encoded><![CDATA[<p>marchin &#8216;s technique worked for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnk</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-216</link>
		<dc:creator>dnk</dc:creator>
		<pubDate>Mon, 08 Sep 2008 21:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-216</guid>
		<description>I find you do have to double quote everything - otherwise it comes up as invalid JSON.

But when double quoted, I get the following:

(Object)#0
  message = &quot;faultCode:AMFPHP_RUNTIME_ERROR faultString:&#039;AMFPHP Remoting &#039;CLASS&#039; class database UPDATE query error: 1054&#039; faultDetail:&#039;/home/sites/ws.dom.com/web/amfphp/services/class.php on line 236&#039;&quot;
  name = &quot;Error&quot;
  rootCause = (null)

So I suspect this is the instance of where it doesn&#039;t like double quotes. But I can&#039;t pass the object as an argument otherwise - it just comes up as invalid JSON......</description>
		<content:encoded><![CDATA[<p>I find you do have to double quote everything &#8211; otherwise it comes up as invalid JSON.</p>
<p>But when double quoted, I get the following:</p>
<p>(Object)#0<br />
  message = &#8220;faultCode:AMFPHP_RUNTIME_ERROR faultString:&#8217;AMFPHP Remoting &#8216;CLASS&#8217; class database UPDATE query error: 1054&#8242; faultDetail:&#8217;/home/sites/ws.dom.com/web/amfphp/services/class.php on line 236&#8242;&#8221;<br />
  name = &#8220;Error&#8221;<br />
  rootCause = (null)</p>
<p>So I suspect this is the instance of where it doesn&#8217;t like double quotes. But I can&#8217;t pass the object as an argument otherwise &#8211; it just comes up as invalid JSON&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marchin</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-215</link>
		<dc:creator>marchin</dc:creator>
		<pubDate>Tue, 02 Sep 2008 10:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-215</guid>
		<description>Hope that helps someone
The only thing that worked for me (amfphp1.9.20080120):

String example : &quot;mike&quot;
Object example : {&quot;number&quot;:3,&quot;string&quot;:&quot;somestring&quot;}

sniffed in Charles, AMF msg is created properly

marchin</description>
		<content:encoded><![CDATA[<p>Hope that helps someone<br />
The only thing that worked for me (amfphp1.9.20080120):</p>
<p>String example : &#8220;mike&#8221;<br />
Object example : {&#8220;number&#8221;:3,&#8221;string&#8221;:&#8221;somestring&#8221;}</p>
<p>sniffed in Charles, AMF msg is created properly</p>
<p>marchin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali Tan Ucer</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-119</link>
		<dc:creator>Ali Tan Ucer</dc:creator>
		<pubDate>Mon, 05 May 2008 19:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-119</guid>
		<description>Hi,

It seems like my comment gets deleted.
i like to know if it is possible to use boolean in anyway, either in the service browser or in the FLex Remote object method call. I am always having problems and end up using string &quot;1&quot; or &quot;0&quot; for boolean method variables.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It seems like my comment gets deleted.<br />
i like to know if it is possible to use boolean in anyway, either in the service browser or in the FLex Remote object method call. I am always having problems and end up using string &#8220;1&#8243; or &#8220;0&#8243; for boolean method variables.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali Tan Ucer</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-118</link>
		<dc:creator>Ali Tan Ucer</dc:creator>
		<pubDate>Sun, 04 May 2008 19:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-118</guid>
		<description>I am sure it is a stupid question, but how one can enter a boolean??
true or false doesnt work.
it considers it as string by default.</description>
		<content:encoded><![CDATA[<p>I am sure it is a stupid question, but how one can enter a boolean??<br />
true or false doesnt work.<br />
it considers it as string by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: colnet</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-browser-syntax-for-testing-services/comment-page-1#comment-111</link>
		<dc:creator>colnet</dc:creator>
		<pubDate>Thu, 24 Apr 2008 20:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=22#comment-111</guid>
		<description>When you pass an object to the service function

like that

function createClient($oDataSub){
return $oDataSub-&gt;email;
}

of course this doesn&#039;t work, but how can you make it work, I mean retrieve the email variable from this object?

Do we need to do all the mapping work ? or is there a way to change the syntax of $oDataSub-&gt;email to make it work?</description>
		<content:encoded><![CDATA[<p>When you pass an object to the service function</p>
<p>like that</p>
<p>function createClient($oDataSub){<br />
return $oDataSub-&gt;email;<br />
}</p>
<p>of course this doesn&#8217;t work, but how can you make it work, I mean retrieve the email variable from this object?</p>
<p>Do we need to do all the mapping work ? or is there a way to change the syntax of $oDataSub-&gt;email to make it work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
