I'm getting "No destination 'detinationName' exists in service flex.messaging.services.RemotingService"
Here's a snippet of the TraceTarget output...
'14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer sending message 'A48825BE-FD16-7223-221D-D6D674320226'
'SFProdServer' channel endpoint set to http:// SFProdServer.xxx.com/flex2gateway/
'SFProdServer' channel settings are:
<channel id="SFProdServer" type="mx.messaging.channels.AMFChannel">
<endpoint uri="http:// SFProdServer.xxx.com/flex2gateway/"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel>
' SFProdServer' pinging endpoint.
' SFProdServer' channel is connected.
'SFProdServer' channel sending message:
(mx.messaging.messages::RemotingMessage)#0
body = (Array)#1
[0] "<reportXML></reportXML>"
clientId = (null)
destination = " CF_SFProdServer"
headers = (Object)#2
messageId = "A48825BE-FD16-7223-221D-D6D674320226"
operation = "saveXML"
source = " reports.cf.cfc.metricXML"
timestamp = 0
timeToLive = 0
'14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer connected.
'14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer acknowledge of 'A48825BE-FD16-7223-221D-D6D674320226'.
'14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer fault for 'A48825BE-FD16-7223-221D-D6D674320226'.
Everything is in order as far as I can tell.
Thanks,
Brendan
Can you provide the exact error you are seeing? We have "Unknown destination 'x' and 'x' is not a valid destination. It also might help to turn on debug logging on the client… you do this by adding the MXML tag: <mx:TraceTarget/> then look in your flashlog.txt file.
Jeff
From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Brendan Meutzner
Sent: Thursday, September 21, 2006 2:46 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: services-config.xml No Destination Found
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
__,_._,___
- Re: [flexcoders] Re: services-config.xml No Destination F... Brendan Meutzner
- RE: [flexcoders] Re: services-config.xml No Destinat... Jeff Vroom
- Re: [flexcoders] Re: services-config.xml No Dest... Brendan Meutzner
- Re: [flexcoders] Re: services-config.xml No ... EECOLOR
- Re: [flexcoders] Re: services-config.xml... Brendan Meutzner
- Re: [flexcoders] Re: services-config.xml No Destinat... Mete Atamel
- Re: [flexcoders] Re: services-config.xml No Dest... Brendan Meutzner
Reply via email to

