Sorry... maybe some code might help elicit a response...

My call:

<mx:RemoteObject id="metricXML" destination="CF_SFProdServer" source="com.cnet.reports.cfc.config.metricXML">
<mx:method name="saveXML" result="saveXMLResult(event)" fault="saveXMLFault(event)" />
</mx:RemoteObject>


My services-config.xml (snippet):

            <destination id="CF_SFProdServer">
                <channels>
                    <channel ref="SFProdServer"/>
                </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>false</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>

            <channel-definition id="SFProdServer" class="mx.messaging.channels.AMFChannel ">
            <endpoint uri="http://SFProdServer.xxx.com/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>false</polling-enabled>
                <serialization>
                    <instantiate-types>false</instantiate-types>
                </serialization>
            </properties>
        </channel-definition>


and to add to my previous list...

6) Browsing to http://SFProdServer.xxx.com/flex2gateway/ gives me the usual blank page, so I assume it's working...


Thanks,

Brendan



On 9/21/06, Brendan Meutzner < [EMAIL PROTECTED]> wrote:
I'm seriously at my wits end... I love CF, but I hate CF...

I have my services-config.xml file setup with 2 destinations, one pointing to my local dev CF server and the other to a production server.  I can get my local dev connection to work, but continue to receive the No Destination Found error for my production server.

I am 100% positive on the following:

1) My test CFC file I'm trying to reach exists, and I'm referencing it in the right location.
2) My local and production servers are configured and installed identically...
3) The destination and chanel definitions exist in my services-config.xml file, and the most recent file is getting compiled with my app (I've traced the ServerConfig.xml content)
4) I had this working just fine with CF 7.01 and the B4 updated for cf_flex connectivity (i'm moving my production environment which is why i'm re-installing).
5) I've read all the threads on this issue, and nothing has helped thus far.

I may have missed some points, but I'm 100% positive on them too (whatever they are).

Please God (aka the appropriate Adobe employee) help...

Brendan

Also, I haven't gotten to this point yet because of the difficulties above, but does anybody have an example of how to use CF mapping in the destination reference (so I can avoid figuring it out via trial and error)... thx

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to