4 Replies Latest reply on Apr 14, 2011 3:53 PM by Kristian Wright

    Problem running Flex samples

    Kristian Wright

      Hello,

       

      I'm having a problem running the Flex sample applications that come with the Solution Accelerators.  I have followed the instructions carefully, and set up both the CreateCorrespondence and ManageTemplates projects, which build successfully.

       

      However, whenever I try and run them in the browser, they hang after the first few seconds.  When using Firebug, I see there is an AMF post to http://localhost/cmsa/messagebroker/amf, which successfully returns a status 200.  After that there is a https://localhost/cmsa/messagebroker/amfsecure post, which Firebug tells me is aborted.  Then nothing else happens.  This is the same for both the CreateCorrespondence and ManageTemplates projects.  The error in the Flex debug console is:

       

      [RPC Fault faultString="" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'https://localhost/cmsa/messagebroker/amfsecure'"]

       

      which makes sense if the post was aborted.

       

      I've checked by services-config.xml file and ensured that the following line is in the channel definition:

       

      <add-no-cache-headers>false</add-no-cache-headers>

       

      I'm not sure where to look next - I've been googling away, but still no joy... :-(

       

      Anyone with any ideas?

       

      Thanks in advance,

      Kristian