This content has been marked as final. Show 4 replies
How are you making these calls.
Are you making them sequentially or do you make one call and then call the other servies in the resultHandler of the first call?
Called sequentially (from my original post):
wsCodeList["GetTupleList"].arguments.TupleName = "BUSTYPE";
var call:Object = wsCodeList["GetTupleList"].send();
call.destination = "busType";
wsCodeList["GetTupleList"].arguments.TupleName = "ENTTYPE";
call = wsCodeList["GetTupleList"].send();
call.destination = "entityType";
The docs seem to say this is allow and example found online do similar, except the arguments are passed as a parameter to send. This doesn't work for me though. The web service I'm using will only take the arguments using the arguments object.
First, use AsyncToken instead of the plain object. Go from there.
<snip>Go from there.</snip>
You mean change it to that and it will all work? Well, I did. It worked.
I had gone off of examples I had found on many websites (like cflex.net). Not a single example I found used AsyncToken (until of course I googled for that term specifically and found examples using this rather than a plain object). I don't quite understand how this fixed it. Now that I look at the docs I see that the send method returns an AsyncToken.
Thank you greatly for your assistance,