am trying to make a call to a method on a remote object and get the following error: Error: faultCode:InvokeFailed faultString:'Error: Unknown destination 'reconResultAssembler'.' faultDetail:'Couldn't establish a connection to 'reconResultAssembler'' at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke() at mx.rpc.remoting.mxml::Operation/http://www.adobe.com/2006/flex/mx/ internal::invoke() at mx.rpc.remoting::Operation/send() at mx.rpc.remoting.mxml::Operation/send() at rotest/__ok_click()
here is the mx:RemoteObject tag in my .mxml file: <mx:RemoteObject destination="reconResultAssembler" id="reconRO" showBusyCursor="true" result="this.handleResult(event)"> <mx:method name="getTree" /> </mx:RemoteObject> here is my flex-remoting-service.xml file: <?xml version="1.0" encoding="UTF-8"?> <service id="remoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage"> <destination id="reconResultAssembler"> <adapter ref="java-object"/> <properties> <source>com.dummy.recon.ReconResultAssembler</source> </properties> </destination> <adapters> <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> </adapters> <default-channels> <channel ref="my-amf"/> </default-channels> </service> and here is my flex-enterprise-services.xml file: <?xml version="1.0" encoding="UTF-8"?> <services-config xmlns="http://www.macromedia.com/2005/flex-service-config"> <services> <service-include file-path="flex-data-service.xml"/> <service-include file-path="flex-remoting-service.xml"/> </services> <channels> <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> <properties> <polling-enabled>true</polling-enabled> </properties> </channel-definition> </channels> </services-config> does anyone see anything wrong? the remote call that is in the samples app works just fine. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

