0
votes

My HTTPService resultHandler is firing twice. Is that normal? The messageId and token# are the same. StatusCode=200 both times.

I've examined the traffic in Fiddler and only one request is being submitted. Here's a code snippet; I've put a breakpoint on the service send() method and it is happening only once.

    var token: AsyncToken;
    var myResponder : AsyncResponder = new AsyncResponder(onResult, onFault);
    token=myHTTPService.send();   
    token.addResponder(myResponder);

    private  function  onResult(e:ResultEvent , token:Object=null):void {
        **// we enter this function twice**
    }
2
What major / minor / patch version of the Flex SDK are you using? - cliff.meyers

2 Answers

0
votes

I am facing this problem as well! I guess the solution is to move on to Flex3.5.. thats what the bug tracking page says when I saw it today 17/feb/2010