Hi,

Need help in the Remoting Implementation I have tried example of
below, with the method which does not take any param it works but
what is the syntax for passing the argument to the remote method.

We are using this example as we are not using flex data service
server side component. if any has related example with different way
to achieve also help

var gatewayUrl : String = "http://localhost:8080/demoApp/gateway";
                  gateway_conn = new NetConnection();
                  gateway_conn.objectEncoding =
flash.net.ObjectEncoding.AMF0;
                  gateway_conn.connect( gatewayUrl );
var userList:Array = new Array("12","13","15");
/*
                        what is the syntax for passing the
userList Array to the remote method
"com.tis.dao.SampleDAO.getPersons"
                  */


                  gateway_conn.call
("com.tis.dao.SampleDAO.getPersons", new flash.net.Responder(
onQueryResult, onQueryStatus ) );







--
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




Reply via email to