4 Replies Latest reply on Jan 16, 2009 6:15 PM by velscoe

    Flex Builder truncate/drop variables for AIR App

      I have built and compiled a Air Application with Local versions of Coldfusion 8.0.1, Flexbuilder 3.0.2... When I Access the SWF via browser as in everything is great and data is filled in my Datagrid.

      HOWEVER, when I compile/run the AIR App (from flex builder) on the desktop: I get this error…

      [RPC Fault faultString="Send failed"
      faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:
      url: ' http://ensus.swf/flex2gateway/cfamfpolling'"

      What is interesting is the real file is truncated (ensus.swf not Census.swf) and the IP/Port number are omitted
      Using a cf-polling-amf channel where the Server name and variables are correctly designated as:

      <channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
      <endpoint uri=" http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>

      and the crossdomain.xml exists as well

      Also - If there were issues with the service-config.xml for the channel definitions - wouldn't the SWF have failed to access data as well?

      Any thoughts???