Hi,
I have problem in remoting using NetConnection object and java as a
backend with macromedia flash remoting gateway. I am using Flex2
beta 3. I am not able to connect to the remote server. The code I am
writing is as follows;
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
var gateway_conn:NetConnection = new NetConnection();
gateway_conn.objectEncoding = flash.net.ObjectEncoding.AMF0;
gateway_conn.connect("http://localhost:8080/demo/gateway");
var responder:Responder = new Responder(onQueryResult,
onQueryStatus);
gateway_conn.call("com.test.dao.SampleDAO.getUserData",
responder,strUserID)
gateway_conn.connect method always fails!!!
Please let me know what can be a problem??
Thanks.
Ali.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/