PDA

Просмотр полной версии : Unknown destination 'notes' for service with id 'data-service


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">, может дело в этом ? Подскажите кто сталкивался с такой проблемой

Заранее спасибо

etc
17.01.2007, 21:18
Так его же добавить туда надо. Логично? :) И причем тут contact, если речь про notes?

student-uni
20.01.2007, 17:43
notes надо добавить после contact

ищу contact - не нахожу

добавляю notes

не работает. Выдаёт вышеприведенную ошибку.

Я уже во все три файла по очереди пробовал добавлять
Не идёт