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