Skip to main content
nikos101
Inspiring
November 17, 2009
Question

services-config.xml has changed quite a lot in CF9

  • November 17, 2009
  • 1 reply
  • 503 views

I've noticed that the services-config.xml has changed quite a lot in CF9

I can't see

   <destination id="ColdFusion">
                <channels>
                    <channel ref="my-cfamf"/>
                </channels>

in the file.

So I wonder how my flex apps still work with code like this:

<mx:RemoteObject id="myService" destination="ColdFusion"

This topic has been closed for replies.

1 reply

nikos101
nikos101Author
Inspiring
November 17, 2009

Ah I see they've included it in a seperate file:

<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
    class="flex.messaging.services.RemotingService"
    messageTypes="flex.messaging.messages.RemotingMessage">

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

    <default-channels>
        <channel ref="my-cfamf"/>
    </default-channels>

    <destination id="ColdFusion">
        <channels>
            <channel ref="my-cfamf"/>
        </channels>
        <properties>
            <source>*</source>
        </properties>
    </destination>
</service>