On 2/5/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
>
> recently went through this....a PITA as I couldn't find any clear docs on
> what the heck is going on.  Basically, I ended up recompiling my flex apps
> against a different services-config.xml file for my prod HTTPS sites.  In
> the services-config.xml file look for the channel definition and change it
> to HTTPS.  Flecoders had a few posts on other approaches, but honestly, I
> had no idea, but the above should work.


Well, I edited the services-config.xml on my server - the same one that I'm
using to compile the flex app in question.

I only found one reference to "http" -

    <channels>
        <channel-definition id="my-cfamf" class="
mx.messaging.channels.AMFChannel">
            <endpoint uri="
https://{server.name}:{server.port}{context.root}/flex2gateway/"; class="
flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
                <serialization>
                    <instantiate-types>false</instantiate-types>
                </serialization>
            </properties>
        </channel-definition>
    </channels>

See I changed it to https

I recompiled the flex app, restarted the coldfusion application server,
emptied my browser cache, closed all my IE windows... and then ran the app
again and it's still NOT going over SSL!

After I did all that, it simply doesn't work at all anymore, and my flex app
returns the following:

Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500:
url: 'http://advanceweb.ads.duke.edu/flex2gateway/'

So, #1 - the flex app is STILL trying to go to http: not https:, and #2, the
flex gateway doesn't seem to be working at all anymore. =(

<rant>what happened to the old days when Flash actually wouldn't go to a
non-SSL service if the page it was loaded on was SSL encryped...</rant>

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3577
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to