student-uni
17.01.2007, 21:17
я пробую пример из Хелпа Use the Data Management Service
Установил и запустил Flex Data Services 2 - работает
Пытаюсь откомпилировать пример - выдаёт вышеприведенную ошибку
Unknown destination 'notes' for service with id 'data-service
Помогите пожалуйста.
В подготовке к выполнению примера сказано
In a text editor, open the data-management-config.xml file located in the WEB_INF/flex directory of the samples web application.
Directly above the text <destination id="contact">, make sure the following destination definition exists.
Create the destination definition if it isn't there, and save the file.
<destination id="notes">
<adapter ref="actionscript"/>
<properties>
<metadata>
<identity property="noteId"/>
</metadata>
</properties>
</destination>
т.е надо обновить файл
data-management-config.xml
но у меня их три
- один в Program Files\Adobe\fds2\resources\config
- второй в Program Files\Adobe\fds2\jrun4\servers\default\flex\WEB-INF\flex
- третий в Program Files\Adobe\fds2\jrun4\servers\default\samples\WEB-INF\flex
и ни в одном нету тега <destination id="contact">, может дело в этом ? Подскажите кто сталкивался с такой проблемой
Заранее спасибо
Установил и запустил Flex Data Services 2 - работает
Пытаюсь откомпилировать пример - выдаёт вышеприведенную ошибку
Unknown destination 'notes' for service with id 'data-service
Помогите пожалуйста.
В подготовке к выполнению примера сказано
In a text editor, open the data-management-config.xml file located in the WEB_INF/flex directory of the samples web application.
Directly above the text <destination id="contact">, make sure the following destination definition exists.
Create the destination definition if it isn't there, and save the file.
<destination id="notes">
<adapter ref="actionscript"/>
<properties>
<metadata>
<identity property="noteId"/>
</metadata>
</properties>
</destination>
т.е надо обновить файл
data-management-config.xml
но у меня их три
- один в Program Files\Adobe\fds2\resources\config
- второй в Program Files\Adobe\fds2\jrun4\servers\default\flex\WEB-INF\flex
- третий в Program Files\Adobe\fds2\jrun4\servers\default\samples\WEB-INF\flex
и ни в одном нету тега <destination id="contact">, может дело в этом ? Подскажите кто сталкивался с такой проблемой
Заранее спасибо