Hi,
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
<adapters>
adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="myDestId">
<properties><source>com.sample.impl.MyJavaImpl</source></properties>
</destination>
--services-config.xml -> definition
<channels>
<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"/>
</channel-definition>
</channels
--calling mxml -> usage
<mx:RemoteObject id="myRO" destination="myDestId">
<mx:method name="javaMethod"/>
</mx:RemoteObject>
--calling line
myRO.javaMethod.send();
Any help is appreciated
Thanks