1 Reply Latest reply on Aug 12, 2009 5:49 AM by jim1234

    Deployed Flex application not using secure Coldfusion Channel

    jim1234 Level 1

      I have a flex application that is using the secure coldfusion channel in development, and it works fine.  I checked it through firebug and it's definitely calling the https URL for the flexgateway.  I am using the -services option in the compiler to use the services-config.xml.


      When I move the flex application to the production machine, for some reason it reverts to using the non secure channel with the http protocol.  I tried a clean project build, but it still happens.  Below I'm posting my services-config and remote-config files to see if anyone can figure out anything.  Thanks, Jim.




              <adapter-definition id="cf-object" class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>
              <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter"/>

              <channel ref="my-cfamf-secure"/>

          <destination id="ColdFusion">
                  <channel ref="my-cfamf-secure"/>
                  <!-- define the resolution rules and access level of the cfc being invoked -->
                      <!-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. -->
                      <!-- allow "public and remote" or just "remote" methods to be invoked -->

                      <!-- cfc property names -->
                      <!-- Query column names -->
                      <!-- struct keys -->




      <channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
                  <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>