Stuck on getting iPhone secure channel to work
i have created simple 'hello world' flex mobile project go on iphone. there server created using grails , using blazeds communicate between two. wanted communication between them secure, wanted use secure channel. have following channel definition:
<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>
<add-no-cache-headers>false</add-no-cache-headers>
<properties>
</channel-definition>
and equivalent callresponder , service created via flash builder data/services wizard. when run flex project on iphone simulator on desktop works fine, when package app , run on iphone following error message:
send failed
channel.connect.failed error
netconnection.call.failed: http:
failed: url: 'https://www.example.com/messagebroker/amfsecure'
(i have changed website address, work on simulator , have ordinary flex project runs fine against website address.)
please can help, have run out of ideas.
thanks in advance.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment