Peter...

I went through and changed machine names to post the files publicly... I see now I missed a spot, and hope that's not confusing everyone...  Anyway, I am calling my remote object like so:

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

And the relevant parts of the services-config.xml are:

            <destination id="CF_production1">
                <channels>
                    <channel ref="production1"/>
                </channels>
                <properties>
                    <source>*</source>
                    <access>
                        <use-mappings>false</use-mappings>
                        <method-access-level>remote</method-access-level>
                    </access>
                    <property-case>
                        <force-cfc-lowercase>false</force-cfc-lowercase>
                        <force-query-lowercase>false</force-query-lowercase>
                        <force-struct-lowercase>false</force-struct-lowercase>
                    </property-case>
                </properties>
            </destination>

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



Does this clear things up?

Greetz... are you saying my naming structure could be causing problems, or are you referring to the same thing Peter has pointed out?

Thanks guys!

Brendan

On 9/25/06, EECOLOR <[EMAIL PROTECTED]> wrote:

3) When I compile to use either of my production servers (production1 or production2) is when I receive the error "No Destination 'production1'/'production2' exists in service flex.messenging.services.RemotingService "
 
In you config you have definations named: CF_production1 and CF_production2, could this be the problem. In your description you are refering to 'production1' and 'production2' which are your channel names.
 
 
Greetz Erik

 


__._,_.___

--
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