How to configure channels with Spring-Flex?
newbie here trying first flex/blazeds app , running. i'm using spring-flex integration , believe have configured servet , remoting destinations. remaining questions relate how configure channels.
the use of spring/blazeds integration means not have have remoting-config.xml file anymore. documentation unclear whether need configure channels within services-config.xml file still.
if need services-config.xml file (and think do), how 1 away without hard coding server url? i've seen samples on web like:
url="https://\{server.name\}:\{server.port\}/flex2gateway/cfamfsecure"
but don't when/where/what dynamic substituion? maven or spring properties, can't be. has manually changed after installation?
finally, don't idea of compiling flex client against server-side configuration file have seen suggested on web. how 1 go have flex client discover - or otherwise figure out needs dynamically?
sorry multi-question post....thanks help!
you need configure channel set, have option of doing in flex client code rather in services-config.xml file. here's information on ways that:
look @ section called "configuring channels on client".
regarding tokens in channel definitions in services-config.xml:
{server.name} , {server.port} resolved @ runtime server , port used load swf file.
More discussions in LiveCycle Data Services
adobe
Comments
Post a Comment