what model ur using spring or only java?
give destination name same as u define in model
Prajnith


On Mon, Nov 23, 2009 at 9:25 PM, swap <[email protected]> wrote:

> Hi,
>
> i am trying to send data to the flex application from java.
> But it looks like flex is not able to make the connection with java.
>
> my remoting-confg.xml looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <service id="remoting-service"
>    class="flex.messaging.services.RemotingService" >
>
>    <adapters>
>        <adapter-definition id="java-object"
> class="flex.messaging.services.remoting.adapters.JavaAdapter"
> default="true"/>
>    </adapters>
>
>    <default-channels>
>        <channel ref="my-amf"/>
>    </default-channels>
>
>     <destination id="viewConc">
>         <properties>
>         <source>com.....ViewConcentrationAction</source>
>         <scope>application</scope>
>     </properties>
>     <adapter ref="java-object"/>
>   </destination>
>
> </service>
>
>
>
> And the error i get is :
>
> message='Destination 'viewConc' either does not exist or the
> destination has no channels defined (and the application does not
> define any default channels.)']
>
>
> Kindly let me know the possible reasons for the error.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to