How to configure for another remote object - java class(Blaze ds)

0 views
Skip to first unread message

Gerald Anto

unread,
Nov 27, 2010, 1:47:50 AM11/27/10
to flex_delhi_india_group

my flex java(Blaze ds) is working fine.
now i new mxml and java class.
how to configure remoting-config.xml file for this java class.
else i have to create new another remoting-config.xml file.

the followig is my remoting-config.xml for first application

<?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="CreatingRpc">
<properties>
<source>com.adobe.remoteobjects.RemoteServiceHandler</source>
<scope>application</scope>
</properties>
<adapter ref="java-object"/>
</destination>

</service>

now i add the following for second java class

<!--
<destination id="opentool">
<properties>
<source>com.adobe.remoteobjects.OpenTool</source>
<scope>application</scope>
</properties>
<adapter ref="java-object"/>
</destination>
-->
but it shows sending failed error .please help me how to configure for
second class

Thanks&Regards,
Gerald A
Reply all
Reply to author
Forward
0 new messages