> Now when I run the app I get a "Destination 'MyService' has no
> channels defined and the application does not define any default
> channels."

That sounds like a server configuration problem.

My guess is that you have a 'destination' set up in your remoting- 
config.xml that isn't specifying a channel., and that there is no  
default channel element in your remoting-config file.  The usual set  
up is something like:

<service id="remoting-service" ... >
    <default-channels>
        <channel ref="my-amf" />
   </default-channels>
   <destination id="my-destination">
        ....
   </destination>
</service>


You can also specify channels on a per-destination basis.  You need  
to make sure that whatever is in the "ref" attribute of the channel  
tags corresponds to one of the channel-definition's  set up in your  
services-config.xml file, so in the above, you must have a channel  
with id="my-amf" present.

Hope this is of some use.

Stephen


Reply via email to