Why can't you just use a "web service calls" counter in your code? Every time a request goes out, increment it, every time you get a response, decrement it. The "Print Receipt" button only gets enabled if the counter is back to 0.
--- In [email protected], "byte.sensei" <[EMAIL PROTECTED]> wrote: > data to produce a PDF receipt. The problem is, if a user clicks "Print > Receipt" before all the save order web services have finished, then > they only get a partial receipt. There's also not an easy way to > determine if all the web service calls are finished, so I can't > disable/enable the button based on that.

