I have created a simple 'hello world' flex mobile project to go on an iphone. There is also a server created using grails and I am using Blazeds to communicate between the two. I wanted the communication between them to be secure, so I wanted to use a secure channel. So I have the following channel definition:
<channel-definition id='my-secure-amf' class='mx.messaging.channels.SecureAMFChannel'>
and an equivalent CallResponder and service created via the Flash Builder Data/Services wizard. When I run the flex project on the iphone simulator on the desktop everything works fine, but when I package it into an app and run it on my iphone i get the following error message:
Failed: url: 'https://www.example.com/messagebroker/amfsecure'
(I have changed the website address, but it does work on the simulator and I also have an ordinary flex project which runs fine against the website address.)
Please can anybody help, as I have run out of ideas.
Thanks in advance.