Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

flex.data.messages.DataMessage

Avatar

Level 1
Hi?

I've been holed up for weeks now and I can't continue trying
to study CRM application.

Whenever I run the application these errors always appear.

Can you please guide me what to do?



[MessagingError message='No service is configured to handle
messages of type 'flex.data.messages.DataMessage'.']

at
mx.messaging.config::ServerConfig$/getServiceIdForMessage()

at mx.data::Metadata$iinit()

at mx.data::ConcreteDataService$iinit()

at mx.data::ConcreteDataService$/getService()

at mx.data::DataService$iinit()

at contactmgr/::initApp()

at contactmgr/___Application1_creationComplete()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at mx.core::UIComponent/set initialized()

at mx.managers::LayoutManager/::doPhasedInstantiation()

at Function/
http://adobe.com/AS3/2006/builtin::apply()

at mx.core::UIComponent/::callLaterDispatcher2()

at mx.core::UIComponent/::callLaterDispatcher()



Thanks

2 Replies

Avatar

Former Community Member
This means that you don't have Data Service configured. You
should have services-config.xml in WEB-INF/flex and
services-config.xml should refer to data-management-config.xml (at
the top under <services> tag) which is the configuration for
Data Service. Make sure you have these.