Originally posted by: SriScape
I am reposting this message in this forum (already posted in "Flex2 General Discussion" by mistake)
I have defined two message channels in my services-config.xml. One for over ssl (https) and one for regular http.
<channel-definition id="my-graniteamf" class="mx.messaging.channels.AMFChannel">
<channel-definition id="my-secure-graniteamf" class="mx.messaging.channels.SecureAMFChannel">
I am referring to these in the services using default-channels as below...
When i am accessing the application using http, first the secure endpoint is being pinged (obviously fails) and then the regular endpoint is being pinged and that works.
When i am accessing the application using https, first the regular endpoint is being pinged (fails) and then the secure endpoint is being pinged and works.
My question is why the order of look up is different, according to the documentation the order of lookup is the order mentioned in the services-config.xml.
Another issue i have is that, when access the app using Fire Fox, it tries to ping the secure endpoint forever when accessing the app over http and tries to ping the non-secure endpoint when accessing the app over https server.
I am using GraniteDS and flex beta 3.