Hi everyone,

I'd like to make an flex application communicating through remoteObjects
with other webapps. Is it possible ?
I think the config should look like :

1/ In service-config.xml :

<channel-definition id="my-amf-apple"
class="mx.messaging.channels.AMFChannel">
     <endpoint uri="http://AppleWebAppURL/messagebroker/amf
<http://AppleWebAppURL/messagebroker/amf> "
class="flex.messaging.endpoints.AMFEndpoint"/>
             <properties>
                 <polling-enabled>false</polling-enabled>
             </properties>
         </channel-definition>

         <channel-definition id="my-amf-orange"
class="mx.messaging.channels.AMFChannel">
             <endpoint uri="http://OrangeWebAppURL/messagebroker/amf
<http://OrangeWebAppURL/messagebroker/amf> "
class="flex.messaging.endpoints.AMFEndpoint"/>
             <properties>
                 <polling-enabled>false</polling-enabled>
             </properties>
         </channel-definition>

2/ In remoting-config.xml :

<destination id="appleService" channels="my-amf-apple">
     <properties>
         <source>appleServiceImpl</source>
         <scope>application</scope>
     </properties>
</destination>

<destination id="orangeService" channels="my-amf-orange">
     <properties>
         <source>orangeServiceImpl</source>
         <scope>application</scope>
     </properties>
</destination>



But I wasn't able to make it work. Any ideas ?

Damien











Reply via email to