Try putting a saveResultObj.onFault() handler in your code to see if you're getting a failure response. Note that if your server responds with a 505 HTTP header, your fault handler won't see it, as the Flash player filters these out. You need a TCP snoop utility to monitor the messages passed between your client and server to see if this is the case or whether the response is intermittently failing to be sent or intermittently failing to be processed.
P. >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Merrill, Jason >> Sent: Monday, September 25, 2006 7:19 AM >> To: Flashcoders mailing list >> Subject: RE: [Flashcoders] Help debug a webservice issue >> >> Even if someone just wants to take a guess that would be fine. Thanks! >> >> >>-----Original Message----- >> >>From: [EMAIL PROTECTED] [mailto:flashcoders- >> >>[EMAIL PROTECTED] On Behalf Of Merrill, Jason >> >>Sent: Friday, September 22, 2006 4:01 PM >> >>To: Flashcoders mailing list >> >>Subject: RE: [Flashcoders] Help debug a webservice issue >> >> >> >>Nobody? >> >> >> >> >> >>>>-----Original Message----- >> >>>>From: [EMAIL PROTECTED] [mailto:flashcoders- >> >>>>[EMAIL PROTECTED] On Behalf Of Merrill, Jason >> >>>>Sent: Friday, September 22, 2006 11:17 AM >> >>>>To: Flashcoders mailing list >> >>>>Subject: [Flashcoders] Help debug a webservice issue >> >>>> >> >>>>I've got a webservice which is acting up and I'm trying to figure >> out >> >>if >> >>>>it's a .NET server issue, a c# script issue, a Flash Webservice >> >>>>component issue, or something else. >> >>>> >> >>>>The problem is the onResult listener gets fired sometimes, sometimes >> >>>>not. It had been working fine until yesterday. My Actionscript >> >>>>(snippet) is as follows: >> >>>> >> >>>>("theObject" is an object I format in Flash - it remains unchanged >> in >> >>>>tests) >> >>>> >> >>>>saveResultObj = new Object(); >> >>>>saveResultObj = myWS.SaveProject(theObject); >> >>>>saveResultObj.targetMC = someMovieClip_mc; >> >>>>saveResultObj.onResult = function(result){ >> >>>> //this function only gets fired intermittently! >> >>>> trace("result received"); >> >>>> this.targetMC.doSomething(); >> >>>>} >> >>>> >> >>>>The SaveProject()method in c# takes an object as it's parameter. >> The >> >>>>object and its properties/values are unchanged every time I test, so >> I >> >>>>don't see how it could be the c# script. The onResult event fire >> >>>>intermittently - and on the occasions it doesn't fire, the >> >>SaveProject() >> >>>>method still ran just fine (one of the things SaveProject does is >> >>create >> >>>>XML, and I see the XML gets updated correctly), but the result >> doesn't >> >>>>get fired back all the time. >> >>>> >> >>>>I can't seem to find any correlation, so it seems to be some kind of >> >>>>connection issue with the webservice? Or could it be some kind of >> bug >> >>>>with the Webservice component's onResult event? If it's a .NET >> server >> >>>>issue, what could it be? >> >>>> >> >>>>Ideas? Thanks >> >>>> >> >>>>Jason Merrill >> >>>>Bank of America >> >>>>Learning & Organization Effectiveness - Technology Solutions >> >>>> >> >>>> >> >>>> >> >>>> >> _______________________________________________ >> [email protected] >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

