Did you change the gateway for RemoteObject, maybe the server you're
hitting is not the same as where it got compiled and there are two
flex-configs that don't match?

--- In flexcoders@yahoogroups.com, "charged2885" <[EMAIL PROTECTED]> wrote:
>
> I'm trying to access a RemoteObject. In flex-config.xml, I have the
following under 
> <remote-objects><whitelist>:
> 
> <named>
>       <object name="UserDelegate">
>               <source>com.charged.infuse.delegate.UserDelegate</source>
>               <type>stateless-class</type>
>               <use-custom-authentication>true</use-custom-authentication>
>               <roles>
>                       <role>User</role>
>               </roles>
>       </object>
> </named>
> 
> And my Services.mxml looks like:
> 
> <business:ServiceLocator xmlns:mx="http://www.macromedia.com/2003/mxml"; 
>               xmlns:business="com.charged.infuse.business.*">
>       <mx:RemoteObject id="userDelegateService"
> 10:           named="UserDelegate"
>               result="event.call.resultHandler(event)"
>               fault="event.call.faultHandler(event)"
>               showBusyCursor="true">
>       </mx:RemoteObject>
> </business:ServiceLocator>
> 
> However, when accessing my applicaiton, I get the following error:
> 
> Error
/usr/local/jboss-4.0.3SP1/server/infuse/deploy/infuse.ear/infuse.war/com/
> charged/infuse/business/Services.mxml:10
> Invalid value for 'named' - does not match any object name from the
configuration file.
> 
> I find this troubling because it obviously matches. I don't expect
anyone to be able to 
> answer this right away on their own without seeing my whole project,
but I would 
> appreciate any suggestions because this has me stumped.
> 
> Todd
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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