Title: Remote Object not found in Flex config

And make sure you are not running Flash Player 8.5.  I had issues with Flash player 8.5 and Named remote objects.  It was giving me a different error, but there were problems none the less.  After uninstall of 8.5, my app worked fine.  Very strange…

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez
Sent: Tuesday, October 25, 2005 1:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Remote Object not found in Flex config

 

Did you just make these changes?

 

Try shutting down and restarting your server.  There was an issue someone else had recently where this wasn't picked up correctly without a restart.

 

-Roger

Roger Gonzalez
[EMAIL PROTECTED]


 

 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel Bertrand
Sent: Tuesday, October 25, 2005 12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote Object not found in Flex config

Hi !

I'm having the following error :

Invalid value for 'named' - does not match any object name from the configuration file.

I have already checked my config file and I'm sure to have the name of the remote-object
there, however the error is still happening. At config file I have the settings below:

    <remote-objects>

        ......

        <whitelist>
 
                ....

            <!-- whitelist config for named objects -->
            <named>
                        <object name="DataBaseHandler">
                        <source>com.datasul.persistence.util.DataBaseHandlerDelegate</source>
                        <type>stateless-class</type>
                        </object>
            </named>
        </whitelist>
    </remote-objects>

I have the class DataBaseHandlerDelegate at WEB-INF/lib (as a jar file) and at
WEB-INF/classes/com/datasul/persistence/util/. 

At my MXML tag I have the following:

    <mx:RemoteObject id="dataBaseHandlerSrv" named="DataBaseHandler"
                                                        protocol="http"
                                                        showBusyCursor="true"
                                                        result="event.call.resultHandler( event );"
                                                        fault="event.call.faultHandler( event );">
    </mx:RemoteObject>

 

What's wrong ? Where should I look for the error ?

Thanks in advance,
Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to