Data access via HTTP and Web services is asynchronous so there is no way
to guarantee natively that your services return in a certain order. But
you can accomplish this if you really need to by chaining together
service calls via result handlers. Calling service 1, and then in the
result handler for service one, calling service two, and so on.

 

Karl

Cynergy 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of pgp.coppens
Sent: Monday, February 26, 2007 9:28 AM
To: [email protected]
Subject: [flexcoders] Looking for guidance on HTTPService sequencing

 

Hello Flex fans,

Yet another flex 101....

I have read and (hopefully) understood how HTTPService and its result
handling works.

What I am struggling with is how I can enforce a certain sequencing so
that I have the guarantee that flash will not send a second request
after the first has been completed.

Alternatively, are there any synchronization mechanisms available at
all that could be used to implement the above?

Thanks,

Peter 

 

Reply via email to