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




YAHOO! GROUPS LINKS




Reply via email to