--- In flexcoders@yahoogroups.com, "handitan" <handi....@...> wrote: > > Hi all, > > I need some advices on how-to solve the issue that I am having. > On my Flex application, I have a singleton class that contains 1 WebService > instance which serves every services. > > It has been working fine but I miss-out a very important issue that I should > have think of beforehand which is being able to resend the service again that > was failed either due to a TimeOut or the infamous "2032" > > On the web, I found an example that I think it put me on the right track: > http://flexmonkeypatches.com/flex-webservice-with-auto-repeat-and-increasing-timeout/ > > It's a good solution but I just need to investigate more on how-to > incorporate this to my singleton class because: > 1) On each service call, I save lots of infos on the AsyncToken such as > resultHandler, faultHandler, etc. > 2) On that example, resending the service call by doing "op.send(args)." I > don't know yet on how-to copy over all saved infos from the previous > service-call's token into this new one. >
The token should have the Responder still attached. I think you can probably just grab it and put it into the new token. HTH; Amy