OK, one last try.  Here's my services-config.xml file.  Could you compare it to 
yours and see if there's anything that doesn't add up.

<?xml version="1.0" encoding="UTF-8"?>
<services-config>

    <services>
        <service id="coldfusion-flashremoting-service"
                 class="flex.messaging.services.RemotingService"
                 messageTypes="flex.messaging.messages.RemotingMessage">

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

                <destination id="ColdFusion">
                <channels>
                    <channel ref="my-securecfamf"/>
                </channels>
                <properties>
                    <source>*</source>
                    <!-- define the resolution rules and access level of the 
cfc being invoked -->
                    <access>
                        <!-- Use the ColdFusion mappings to find CFCs, by 
default only CFC files under your webroot can be found. -->
                        <use-mappings>true</use-mappings>
                        <!-- allow "public and remote" or just "remote" methods 
to be invoked -->
                        <method-access-level>remote</method-access-level>
                    </access>

                    <property-case>
                        <!-- cfc property names -->
                        <force-cfc-lowercase>false</force-cfc-lowercase>
                        <!-- Query column names -->
                        <force-query-lowercase>false</force-query-lowercase>
                        <!-- struct keys -->
                        <force-struct-lowercase>false</force-struct-lowercase>
                    </property-case>
                    
                </properties>
            </destination>

        </service>
    </services>

    <channels>
        <channel-definition id="my-cfamf" 
class="mx.messaging.channels.AMFChannel">
            <endpoint 
uri="http://{server.name}:{server.port}{context.root}/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
                <serialization>
                    <instantiate-types>false</instantiate-types>
                </serialization>
                
            </properties>
        </channel-definition>
        <channel-definition id="my-securecfamf" 
class="mx.messaging.channels.SecureAMFChannel">
            <endpoint 
uri="https://{server.name}:{server.port}{context.root}/flex2gateway/"; 

class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
                <serialization>
                    <instantiate-types>false</instantiate-types>
                </serialization>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>

    </channels>

    <logging>
        <target class="flex.messaging.log.ConsoleTarget" level="Debug">
            <properties>
                <prefix>[Flex] </prefix>
                <includeDate>false</includeDate>
                <includeTime>false</includeTime>
                <includeLevel>false</includeLevel>
                <includeCategory>false</includeCategory>
            </properties>
            <filters>
                <pattern>Endpoint.*</pattern>
                <pattern>Service.*</pattern>
                <pattern>Configuration</pattern>
                <pattern>Message.*</pattern>
            </filters>
        </target>
    </logging>

    <system>
    </system>

</services-config>


> Thanks for trying.  I'll keep plugging away.  If I find anything, I'll 
> be sure to post back (perhaps it will help someone else)
> 
> >I don't know what to say.
> >
> >That exact code (and only that code) works for me on a Mac CF8, on 
> Linux CF8
> >and Windows CF7. The only difference I see is that I didn't run it 
> over SSL
> >and it looks like you are, but I use this method in production with 
> SSL.
> >
> >I'm at a total loss...  :-(
> >
> >On Feb 20, 2008 8:43 AM, Gareth Arch <[EMAIL PROTECTED]> wrote:
> >
> >> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299489
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to