ActionScript 3: WebService calls failing


hi guys,

 

i working on flash cs3/as3 application calls server-side web service retrieve/update data in database. code simple , works
great. however, users reporting while browsing through flash application web service calls failing , no data gets
stored in database. assuming connection server gets lost while browsing. in case fault function isn't
called. there way detect kind of error? should check , reinitialize web service before making web service call?
have clue of might happening? below code. let me know if missing in code.

 

thanks

 

code:
--------
var ws:webservice = new webservice();

 

ws.wsdl = "http://localhost/service.asmx?wsdl";
ws.addeventlistener("result", resulthandler);
ws.addeventlistener("fault", faulthandler);
ws.loadwsdl();

 

ws.retrievedata(id);



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい