![MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX... Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/macromedia/coldfusion-mx-7-0-2-using-coldfusion-mx-with-flex/coldfusion-mx-7-0-2-using-coldfusion-mx-with-flex_use-manual_3298315018.webp)
18
Using the Flex Messaging Event Gateway
3.
Change the ID of the destination so the destination ID for each ColdFusion destination
on that machine is unique. (For example, because ColdFusion finds the destination by
locating its name in a machine wide registry, you should not specify the same destination
ID in both the flex and the samples web application.)
4.
To use the ColdFusion-specific channels (to support value objects), copy the following
channels from the sample services-config.xml file to the web application services-
config.xml file:
<!-- ColdFusion specific HTTP channel -->
<channel-definition id="cf-polling-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint
uri="http://{server.name}:{server.port}/{context.root}/messagebroker/
cfamfpolling"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<serialization>
<!-- This must be turned off for any CF channel -->
<instantiate-types>false</instantiate-types>
</serialization>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
The sample services-config.xml file is located in the C:\fds2\resources\config folder when
you install Flex in the default location. The web application services-config.xml file is
located in the C:\fds2\jrun4\servers\default\samples\WEB-INF\flex folder when you
install Flex in the default location.
Содержание COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX...
Страница 1: ...Using ColdFusion MX with Flex 2...
Страница 12: ...12 Using Flash Remoting Update...
Страница 24: ...24 Using the Flex Messaging Event Gateway...
Страница 71: ...Example application 71 wait png The wait png file appears as follows...
Страница 72: ...72 Using the Flex Data Service Assembler...