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

<*> 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/
 



Reply via email to