I tried to change the channel used for the Flex CRM
example from RTMP
to AMF and now I experience a problem on the initial application load.
The problem happens only when polling is disabled. The problem can be
easily reproduced with the following steps:
1. change the default channel to "my-amf" in
data-management-config.xml to look as the following:
<default-channels>
<channel ref="my-amf"/>
</default-channels>
2. Make sure polling is disabled in services-config.xml:
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="amf endpoint is here"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
Re-run the example and you will get this (i slightly modified mxml to
get more data about the error):
http://tinyurl.com/hqdyx
Is this a known problem? Is there a workaround *without* enabling polling?
cheers,
Joe