Hi Abdul, I think you need to provide the ChannelSet to the remote object. For further reference have a look at this link http://old.nabble.com/Destination-does-not-exist-(I'm-desperate-for-help)-td15951642.html
Hope this helps. Regards Gagan Deep On 8 March 2010 15:33, Abdul Nizar <[email protected]> wrote: > *Hi,* > When i try to connect remote object with java using BlazeDS. > It show an error like below, > > > *Error :* [RPC Fault faultString="[MessagingError message='Destination > 'RemoteCallClass' either does not exist or the destination has no channels > defined (and the application does not define any default channels.)']" > faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to > 'RemoteCallClass'"] > > > *Note:* > 1. The Project File is attached here. > please import and check. > 2. "xalan.jar" file is removed bcz. of size. > > > *Sample :* > > */*Java.mxml*/* > > <mx:RemoteObject id="remoteObj" > destination="RemoteCallClass" > source="com.RemoteCall" > fault="faultHandler(event)" > result="responseHandler(event) > " > showBusyCursor="true"> > <mx:method name="requestMethod" > result="responseHandler(event)"/> > </mx:RemoteObject> > > > */*remoting-config.xml*/* > > <destination id="RemoteCallClass" channels="my-amf"> > <properties> > <source>com.RemoteCall</source> > </properties> > <adapter ref="java-object" /> > </destination> > > > -- > With Regards, > Nizar. > Disturb @ (+91) 9790503327 > > -- > 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=en. > -- 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.

