You need to enable the logging filters DataService.coldfusion,
Message.coldfusion. Refer to flex-enterprise-services.xml in the C:\fds2\resources\config
folder for all the sample configs attributes. Flex can watch certain configs files
for changes and will redeploy the ‘web-app’ whose file was changed
(could be /samples, /flex, /flex-admin, /foo). The list of files is found in
the /WEB-INF/flex/flex-enterprise-services.xml file for every web-app <system> <redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/flex-enterprise-services.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/flex-proxy-service.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/flex-remoting-service.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/flex-message-service.xml</watch-file> <watch-file>{context.root}/WEB-INF/flex/flex-data-service.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file> </redeploy> </system> If you change a destination attribute in
your /foo/WEB-INF/flex/flex-data-service.xml and you’ve got the
<redeploy> params specified in your flex-enterprise-services.xml file
then your /foo web-app will redeploy. Your application when creating the
DataServices object needs to pass in the destination name so that’s
another place to check. There are only a couple of places where this could brake
down.
In order for your application (mxml/as) to
know about the new destinations it must recompile before the web-app redeploys
your {context.root}/WEB-INF/flex/flex-data-service.xml file Clear your web cache; make sure the swf is
being rebuilt HTH, Bill From: I dug a little deeper
into this issue, and this is what I've found: |
- RE: [flexcoders] Re: FDS Beta 3 with ColdFusion Issues Bill Sahlas