Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

DataService instantiation is failing

Avatar

Level 1
When I call ds = new DataService("csl"); this in script tag
inside MXML file, I am gettting error message:

[RPC Fault faultString="No destination 'csl' exists in
service flex.data.DataService" faultCode="Server.Processing"
faultDetail="null"]

at mx.data::ConcreteDataService/
http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()

at mx.rpc::AsyncResponder/fault()

at mx.rpc::AsyncRequest/fault()

at
::NetConnectionMessageResponder/NetConnectionChannel.as$40:NetConnectionMessageResponder::statusHandler()

at mx.messaging::MessageResponder/status()



Id csl is set as <destination id="csl"> in
data-management-config.xml. Do I need to set anyother settings?



Thanks.



Venki

0 Replies