Cornel,
You are doing the opposite of what I am doing. Instead of letting the
compiler generate the code to read the XML configuration files, and
then examining the variables, I am attempting to set the XML directly
and configure BlazeDS that way, without using data files bound into
the SWF. The
I've tested using SDK 3.1.0 and the following XML is obtained from
ServerConfig.serverConfigData
http://{server.name}:{server.port}/WebContent/messagebroker/amf"/>
http://{server.name}:{server.port}/WebContent/mess
That produces a null result, as it should. The problem seems to be
with the call to ServerConfig.getChannel(channelName). As I trace
through the call, I see a call to ServerConfig.createChannel('my-amf').
It evaluates xml.channels.channel.(@id == channelId); which of course
returns nothing becau
Try with
ServerConfig.serverConfigData.channels.elements("channel")@["id"]
instead of
ServerConfig.serverConfigData.channels.elements("channel-definition")@["id"]
4 matches
Mail list logo