Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

ADEP Data Services JEE 4.6 related Issue 2

Avatar

Former Community Member

I am having one more problem related to Flash builder 4.6 and Adobe air.

I tried to make web app and created data model for it...It works fine.

Also I created the desktop app (air app) the same steps but doesn't work...

Gives error after like 30 seconds

Could not initialize DataService.

Cannot connect to the server to load configuration for destinations: ["AirDemo.Company"]

In web app it quickly shows the data in datagrid.

But in air app it doesn't show anydata....

Do you have any idea about this?

For adobe air do need some settings?

Let me know,

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Employee

You are not getting a channel connection between the AIR app and the server. You have to create ChannelSet and Channel explicitly in the script block of your MXML file. Take a look at http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WSf25ff5e57409435b3968fb6f130dbb21d03-8000.... how the channel set gets set on the service.

Rohit

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

You are not getting a channel connection between the AIR app and the server. You have to create ChannelSet and Channel explicitly in the script block of your MXML file. Take a look at http://help.adobe.com/en_US/dataservicesjee/4.6/Modeling/WSf25ff5e57409435b3968fb6f130dbb21d03-8000.... how the channel set gets set on the service.

Rohit

Avatar

Former Community Member

Hi,

Thanks Rohit,

I couldn't read that earlier....

Meanwhile I searched the web and got to know to set the channelset.

but the link you provided gave me much more information.

Thank you again for quick reply.

I already tried that out and it works.