PDA

View Full Version : RemoteObject Error


yan_er04
02-14-2006, 07:53 AM
I'm using Flex Enterprise Services 2.0.

I keep get "Type loginPrototype.Login not found." Is it due to the directory stucture or?
My class files are in WEB-INF\classes\flex\loginPrototype\Login
Anything that I missed out?

flex-config.xml - Nothing changed

mxml
<mx:RemoteObject id="login" destination="loginDest" result="txtResult.text=String(event.result)"
fault="mx.controls.Alert.show(event.fault.faultstring,'Er ror Irene')">
<mx:method name="sayHello"/>
</mx:RemoteObject>

flex-remoting-service.xml
<destination id="loginDest">
<properties>
<source>loginPrototype.Login</source>
</properties>
</destination>

hangalot
02-15-2006, 04:09 PM
what appserver are you using tomcat, jrun? did you add the site to the server.xml?