<?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: RemoteObjectAMF0 update</title>
	<atom:link href="http://renaun.com/blog/2006/05/remoteobjectamf0-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/</link>
	<description>Informtation on Flex, Flash, ColdFusion, and general RIA web develoment.</description>
	<lastBuildDate>Tue, 15 May 2012 15:59:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Mike</title>
		<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/comment-page-1/#comment-29858</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 06 Mar 2007 15:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/?p=34#comment-29858</guid>
		<description>Ok thanks for the help, appreciated.  I can&#039;t get objects serializing yet but when I do if you like I will let you know about our Flex 2 - Java POJO use case.</description>
		<content:encoded><![CDATA[<p>Ok thanks for the help, appreciated.  I can&#8217;t get objects serializing yet but when I do if you like I will let you know about our Flex 2 &#8211; Java POJO use case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/comment-page-1/#comment-28817</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Fri, 02 Mar 2007 18:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/?p=34#comment-28817</guid>
		<description>NetConnection.Call.Failed are usually a server side error.  It can&#039;t get to the gateway properly, or there is improper text before the headers/binary stream.

I&#039;ll look at adding the NetStatusEvent in to the class and pass back a Fault message.</description>
		<content:encoded><![CDATA[<p>NetConnection.Call.Failed are usually a server side error.  It can&#8217;t get to the gateway properly, or there is improper text before the headers/binary stream.</p>
<p>I&#8217;ll look at adding the NetStatusEvent in to the class and pass back a Fault message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/comment-page-1/#comment-28446</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 01 Mar 2007 14:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/?p=34#comment-28446</guid>
		<description>Sorry for the amount of text, but here are the details:

   1.  Yes, the call makes it to the server.  I can print statements out showing that the call is made on the server; however, the client gets an error rather than the normal RPC return.

 

   2. The RemoteObjectAMF0 object has a result handler and a fault handler, but this error event does not go to either of them.  The event is actually a â€œNetStatusEventâ€ that occurs on the â€œgateway_connâ€ public variable of the RemoteObjectAMF0 class.  To catch the event I use the following code (assuming gameService is an instance of RemoteObjectAMF0):

 

gameService.gateway_conn.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

 

The result of the RPC never comes back to the result handler.

 

   3. This is the text I get when I donâ€™t catch the event:

 

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed

            at com.renaun.rpc::RemoteObjectAMF0/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()

            at RPCTest/::initApp()

            at RPCTest/___Application1_creationComplete()

            at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

            at flash.events::EventDispatcher/dispatchEvent()

            at mx.core::UIComponent/dispatchEvent()

            at mx.core::UIComponent/set initialized()

            at mx.managers::LayoutManager/::doPhasedInstantiation()

            at Function/http://adobe.com/AS3/2006/builtin::apply()

            at mx.core::UIComponent/::callLaterDispatcher2()

            at mx.core::UIComponent/::callLaterDispatcher()</description>
		<content:encoded><![CDATA[<p>Sorry for the amount of text, but here are the details:</p>
<p>   1.  Yes, the call makes it to the server.  I can print statements out showing that the call is made on the server; however, the client gets an error rather than the normal RPC return.</p>
<p>   2. The RemoteObjectAMF0 object has a result handler and a fault handler, but this error event does not go to either of them.  The event is actually a â€œNetStatusEventâ€ that occurs on the â€œgateway_connâ€ public variable of the RemoteObjectAMF0 class.  To catch the event I use the following code (assuming gameService is an instance of RemoteObjectAMF0):</p>
<p>gameService.gateway_conn.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);</p>
<p>The result of the RPC never comes back to the result handler.</p>
<p>   3. This is the text I get when I donâ€™t catch the event:</p>
<p>Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed</p>
<p>            at com.renaun.rpc::RemoteObjectAMF0/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()</p>
<p>            at RPCTest/::initApp()</p>
<p>            at RPCTest/___Application1_creationComplete()</p>
<p>            at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()</p>
<p>            at flash.events::EventDispatcher/dispatchEvent()</p>
<p>            at mx.core::UIComponent/dispatchEvent()</p>
<p>            at mx.core::UIComponent/set initialized()</p>
<p>            at mx.managers::LayoutManager/::doPhasedInstantiation()</p>
<p>            at Function/http://adobe.com/AS3/2006/builtin::apply()</p>
<p>            at mx.core::UIComponent/::callLaterDispatcher2()</p>
<p>            at mx.core::UIComponent/::callLaterDispatcher()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renaun Erickson</title>
		<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/comment-page-1/#comment-28217</link>
		<dc:creator>Renaun Erickson</dc:creator>
		<pubDate>Wed, 28 Feb 2007 20:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/?p=34#comment-28217</guid>
		<description>The class is pretty generic just handling dynamic method calling.  So it is more likely a server side thing...when you say failing do the requests go out and never come back or do they go out and come back with an error message?</description>
		<content:encoded><![CDATA[<p>The class is pretty generic just handling dynamic method calling.  So it is more likely a server side thing&#8230;when you say failing do the requests go out and never come back or do they go out and come back with an error message?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://renaun.com/blog/2006/05/remoteobjectamf0-update/comment-page-1/#comment-28216</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 28 Feb 2007 20:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://renaun.com/blog/?p=34#comment-28216</guid>
		<description>Thanks!  Using this with Flex 2 and Java POJO&#039;s.

On some computers if we call a remote function every, say, 200ms, and then do that in a few browser tabs, some of the calls start failing.  It doesn&#039;t happen so much on faster computers.  Do you know if this can be prevented or what the load issue is that is causing them?</description>
		<content:encoded><![CDATA[<p>Thanks!  Using this with Flex 2 and Java POJO&#8217;s.</p>
<p>On some computers if we call a remote function every, say, 200ms, and then do that in a few browser tabs, some of the calls start failing.  It doesn&#8217;t happen so much on faster computers.  Do you know if this can be prevented or what the load issue is that is causing them?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

