I am using CF Event Gateway Adapter, having a Producer from a flex
App that sends messages to the CF Gateway, and a consumer in another
Flex App, that is suscribed to the messages generated by the CF
Gateway.
Hi, I've been trying to do it without success, I have a
RequerimientoVO Object with its data already filled, but when I try
to do this:
var msg : AsyncMessage = new AsyncMessage();
msg.headers.gatewayid = "RequerimientosGateway";
//requerimiento is the VO with data
msg.body = requerimiento
service.send( msg );
It doesn't works, and I get this error:
"Unable to send message to CF Gateway 'RequerimientosGateway': null"
however if I change this line:
msg.body = requerimiento;
for this one:
msg.body = new Object();
It works, but data arrives to the CFC gateway without type and I have
to fill the object myself before sending:
msg.body.codigo = requerimiento.codigo;
msg.body.nombre = requerimiento.nombre;
When the CFC returns data from the Gateway to a consumer in another
Flex app, it arrives untyped too :-(
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/