0 Replies Latest reply on Aug 8, 2010 9:21 PM by welcomecan

    flex codfusion  connection issue?

    welcomecan Level 1

      hai friends,

                when i run project.i received this error

       

      faultCode:Client.Error.DeliveryInDoubt
      faultString:'Channel disconnected'
      faultDetail:'Channel disconnected before an acknowledgement was received'.

       

       

      i am very new to flex.Give solution. see my project below

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application

       

       

      xmlns:fx="http://ns.adobe.com/mxml/2009"

      xmlns:s="

      library://ns.adobe.com/flex/spark"

      xmlns:mx="

      library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

       

       

      <s:RemoteObject

       

       

      destination="ColdFusion" id="Logon" source="IST_Business_Applications.IST_Docstor.file_access.display_filedowntest" >

       

       

      <s:method name="downl" fault="handlelogonFault(event)" result="handlelogonResult(event)" />

       

       

      </s:RemoteObject>

       

       

       

      <fx:Script>

      <![CDATA[

       

       

      import mx.controls.Alert;

       

      public function search_click()

      {

       

      //Logon.att("view","4436","0");

      Logon.downl(

      "1","4563","","file_view_iframe","Download");

       

      //Logon.dispfile("Copy","4436");

       

       

      //Logon.editattr("do_edit","11FA25D399BE9F2A6D35B7976CF2BCA7","4436","Docstor Workflow Configuration_20060603105302170.doc", " ","{ts '2010-08-04 06:15:15'}","Docstor Workflow Configuration","Docstor Workflow Configuration","doc","Testing file","TEsting file","this is test file.. test");

      }

       

       

       

      private function handlelogonResult(event):void

      {

      Alert.show(

       

      "welcome","Alert");

       

      }

       

       

      private function handlelogonFault(event):void

      {

       

      Alert.show(event.fault.message);

       

      //Alert.show("Incorrect","Alert");

      }

       

      ]]>

       

       

      </fx:Script>

       

      <s:Button

       

      id="btn_search" x="261" y="269" label="Search" click="search_click();"/>

       

      </s:Application>

       

       

       

      Give solution.

       

      Thanks in Advance.

       

       

      regards,

      welcomecan