NetConnection.prototype.AppendToGatewayUrl = function(){
//dummy function would be enough
}
see if this works.
Jeremy.
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.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
Reply via email to

