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:

 

http://help.adobe.com/en_us/livecycledataserviceses/3.1/developing/wsc3ff6d0ea77859461172e 0811f00f6e876-7fecupdate.html#wsc3ff6d0ea77859461172e0811f00f6e876-7fdbupdate

 

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

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい