Highlighted

How to use SecureAMFChannel?

freeair

12-05-2008

Hello everyone,

While reading
Adobe® LiveCycle® Data Services ES Developer’s
Guide
, I use
RemoteObject component and the predefined
ColdFusion destination in the Remoting-config.xml file
distributed with ColdFusion 8 integrated LiveCycle Data Services ES
to write the simplest code to test how the channels work.

When I specify
AMFChannel for the channel reference in the ColdFusion
destination, everything goes well, but if I only change it from
AMFChannel to
SecureAMFChannel, the following error always occurs,


Channel.Security.Error error Error #2048:security sandbox
conflict:
http://localhost:8500/.../*.swf
can’t load data from
https://localhost:8500/flex2gateway/cfamfsecure. url:’
https://localhost:8500/flex2gateway/cfamfsecure’.


I think there must be something I missed.



Any advice will be appreciated!

Alice

Replies

Highlighted

atta707

12-05-2008

Try loading your main SWF file -- or the HTML file that
contains it -- that uses SecureAMFChannel over https instead of
http.
Highlighted

freeair

13-05-2008

Hi atta707,

Thank you for your response. How to load the HTML wrapper to
use https instead of http? Everytime I test it in Flex Builder, the
protocol in the browser address bar always disyplays http.