Roger Gonzalez
[EMAIL PROTECTED]
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand
Sent: Tuesday, October 25, 2005 12:18 PM
To: [email protected]
Subject: [flexcoders] Remote Object not found in Flex configHi !
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

