Hi Jeffrey
I have been able to access RemoteObject from mxml.
Today I had a problem, when Im trying to call a RemoteObject
which retrieves the list of results from LDAP backend.
I wrote a java class in which Im using a Pojo to create an
object, the following is the chunk of code in my getAllAttrs()
method:
valsList
.add(new TPojo(attrs.get("cn").toString(), attrs.get(
"givenName").toString(), attrs.get( "telephoneNumber").toString(),
attrs.get( "userPassword").toString(), attrs.get
("objectClass").toString(), attrs.get("postalCode").toString(),
attrs.get("employeeNumber").toString(),
attrs.get("description").toString(), attrs.get("st").toString()));
When Im starting the server and trying to run my mxml , it
gives the following error :
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed: url: '
http://localhost:8600/messagebroker/amf'" at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
I have gone through web, and somewhere I learnt that its
because of the beta version of FDS.
But I dont think thats true since other examples works fine.
Please let me know if have any idea of the above problem :)
Thanks,
Tauri Valor.