2 Replies Latest reply on Jan 3, 2010 10:13 PM by lakshdn

    RemoteObject component not hitting java method



      I am using LCDS RemoteObject component to connect to my java classes from flex. On start up I do not see any error in tomcat.

      However i am not able to invoke java method using this component.

      Can someone please help me if something is missing or wrong as i am stuck here, not able to figure out :-

      --remoting-config.xml -> definition


           adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>



           <channel ref="my-amf"/>


      <destination id="myDestId">



      --services-config.xml  -> definition


           <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">

                <endpoint url="http://{server.name}:{server:port}/{context.rppt}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>



      --calling mxml -> usage

      <mx:RemoteObject id="myRO" destination="myDestId">

           <mx:method name="javaMethod"/>


      --calling line


      Any help is appreciated