Hi, your config script looks fine to me, give us an example of your service.mxlm file, maybe youre calling the service inccorectly? Here is an example of mine:
<?xml version="1.0" encoding="utf-8"?> <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cairngorm="com.adobe.cairngorm.business.*"> <mx:RemoteObject id="LoginService" destination="amfphp" source="Login" showBusyCursor="true"/> </cairngorm:ServiceLocator> and script: <?xml version="1.0" encoding="UTF-8"?> <services-config> <services> <service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage"> <destination id="amfphp"> <channels> <channel ref="my-amfphp"/> </channels> <properties> <source>*</source> </properties> </destination> </service> </services> <channels> <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://localhost/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/> </channel-definition> </channels> </services-config> --- In flexcoders@yahoogroups.com, "mapper2255" <[EMAIL PROTECTED]> wrote: > > Hello, > > Have been trying all day to get CairngromStore running and keep > getting this error: theMessagingError message='Unknown > destination 'AMFPHP1_9'.' Using xampp/php 5. > > Have searched a long time for the answer with no help. Ran across > this thread: http://www.mail- > archive.com/flexcoders@yahoogroups.com/msg49480.html. > > So I am using: <?xml version="1.0" encoding="UTF-8"?> > <services-config> > <services> > <service id="amfphp-flashremoting-service" > class="flex.messaging.services.RemotingService" > > messageTypes="flex.messaging.messages.RemotingMessage"> > <destination id="AMFPHP1_9"> > <channels> > <channel ref="my-amfphp19"/> > </channels> > <properties> > <source>*</source> > </properties> > </destination> > </service> > </services> > > <channels> > <channel-definition id="my-amfphp19" > class="mx.messaging.channels.AMFChannel"> > <endpoint uri="http://localhost/amfphp1_9/gateway.php" > class="flex.messaging.endpoints.AMFEndpoint"/> > </channel-definition> > </channels> > </services-config> > > Have set up and have running amfphp 1.9. > > Any suggestions? I know it is something simple. > > Thanks. >