Gerald Anto
unread,Jul 27, 2011, 9:34:35 AM7/27/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flex_delhi_india_group
hi friends,
i have installed wtp tool in flex builder for combined flex java
project.
when i write java class as separate and run that is working fine.but
when i work together Flex with java it is not working.i deployed flex
war file in my flex builder 3 .
i edited remote config.xml file for Flex to java class. but when i
call java method, it shows the error as "send failed".
Is there any other thing i have to do in my flex builder 3 for
connecting flex to java methods?
i would be very thankful, you consider me.
the following is my edited remoteconfig.xml file
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<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="RemoteService">
<properties>
<source>Javas.RemoteServiceHandler</source>
<scope>application</scope>
</properties>
<adapter ref="java-object"/>
</destination>
</service>