Hi All,
we are trying to use a dataservice over an AMF channel that does not
require polling. So we've configured the service as in the following
snippets;
in data-management-config.xml:
...
<destination id="contacts">
<channels>
<channel ref="amf"/>
</channels>
<properties>
<auto-sync-enabled>false</auto-sync-enabled>
...
and services-config.xml
...
<channels>
<channel-definition id="amf" class="mx.messaging.channels.AMFChannel">
<endpoint
uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
...
But any client making use of the datasource issues a poll request
regardless and throws:
[RPC Fault faultString="error" faultCode="Channel.Polling.Error"
faultDetail="Poll request made on 'amf' when polling is not enabled."]
If we switch to a polling amf channel all works as intended, but of course
the clients will poll needlessly.
Is there a way to build the clients so that they heed the channel
configuration and don't poll?
regards
Kornelius
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/