Yup that's all there. It's defined by default. Anything else? --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > > Look at your web.xml if you have your servlet ( MessageBrokerServlet )and servlet mapping defined ( /messagebroker/* ). > > João Fernandes > > > > -----Original Message----- > From: flexcoders@yahoogroups.com on behalf of sof4real03 > Sent: Sun 09-Apr-06 1:08 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Cairngorm 2, Flex 2 Beta 2 and RemoteObject (java) > > I'm trying to access a server-side java object via the RPC Data > Service RemoteObject. I have the following definitions: > > Services.mxml: > > <mx:RemoteObject id="securityFacade" destination="lsSecurity" > result="event.call.resultHandler( event )" > fault="event.call.faultHandler( event )" > showBusyCursor="true"/> > > In my BusinessDelegate I invoke a method on the RemoteObject, but the > JRun log stdout spits out the following: > > error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) > not found > > In the flex-remoting-service.xml, I have the following definition: > > <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="lsSecurity"> > <properties> > // the java class name of the destination > <source>com.company.services.security.SecurityFacade</source> > </properties> > </destination> > > In the flex-enterprise-services.xml "my-amf" channel is defined by > default. > > Is there any other configuration I'm missing that would attribute to > the error message mentioned above? > > Thanks, > Sof > > > > > > > -- > 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 >
-- 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/