This is a tricky error and that a lot of cf-ers run into.  The first thing to check ( this is form ben forta's presentation) is to make sure you start up flex data services and then CF.  This allows flex to create the correct RMI binding and then CF can connect to it.

That is all based on you having the xml settings correct though :)  Are you connecting to the same destination that your consumer is using?  I had to specfify the gatewayID and host explicitly for one of my projects.  Mine is very simple I have included it below.  Feel free to ping me on gtalk at this address if you want to do some troubleshooting.

Good Luck

simeon

<?xml version="1.0" encoding="UTF-8"?>
<service id="message-service" class="flex.messaging.services.MessageService" messageTypes=" flex.messaging.messages.AsyncMessage">
   <adapters>
      <adapter-definition id="cfgateway" class="coldfusion.flex.CFEventGatewayAdapter"/>
   </adapters>
   <destination id="ColdFusionGateway">
      <adapter ref="cfgateway" />
      <properties>
         <gatewayid>Flex2CF</gatewayid>
         <gatewayhost>127.0.0.1</gatewayhost>
      </properties>
      <channels>
         <channel ref="my-rtmp"/>
         <channel ref="my-polling-amf"/>
      </channels>
   </destination>
</service>



--
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




Reply via email to