This error occurs when the client can't connect to the server and/or can connect to the server and can't download the configuration.
The <mx:TraceTarget/> output would show more about what is going on but a few
things to check:
Make sure you have your ChannelSet defined in your client and set the
channelSet property of your DataService. Alternatively, you can remove all use
of the {server.name} and {server.port} tokens (use absolute URLs in your
configs) and then can specify the -services option to your compiler to compile
in the destination info. AIR does not have a server name or port to
substitute there so it can use the tokens. And of course makes sure your
data-management-config.xml defines the destinations you are using in your
client.
Jeff
From: [email protected] [mailto:[email protected]] On Behalf
Of bonny_us
Sent: Wednesday, January 21, 2009 6:36 PM
To: [email protected]
Subject: [flexcoders] Getting Error while calling dataservice from AIR
application.
Hi All,
I am creating application using AIR Data Synchronization via LiveCycle
Data Services ES 2.6. So when i am calling the Dataservice from air it
will give me below error.
(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = (null)
correlationId = ""
destination = ""
extendedData = (null)
faultCode = "Client.Initialization.Failed"
faultDetail = "Missing or invalid configuration for destinations: "
faultString = "Could not initialize DataService."
headers = (Object)#2
messageId = "F32AABE3-A3CD-A4AB-4A9D-FAA28CF8B97F"
rootCause = (null)
timestamp = 0
timeToLive = 0
if any one have any idea regarding this error please let me know. it
will very helpful to me.
Thanks,
Bonny
<<inline: image001.jpg>>
<<inline: image002.jpg>>

