I'm trying to access a "destination" over SSL with the "my-secure-amf"
channel.
I have a destination defined in remoting-config.xml that looks like:
<destination id="foo">
<channels>
<channel ref="my-secure-amf" />
</channels>
</destination>
However when my code tries to use this destination I get:
NetConnection.Call.Failed: HTTP: Failed: url:
'https://localhost:8443/myapp/messagebroker/amfsecure'
The channel in services-config.xml is defined as:
<channel-definition id="my-secure-amf"
class="mx.messaging.channels.SecureAMFChannel">
<endpoint
url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<!--HTTPS requests on some browsers do not work when
pragma "no-cache" are set-->
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
Any thoughts?