When a webservice is called through BeginInvoke asynchrously and an
exception is thrown, this exception is not propagated to the client
(obviously). Asynch client simply does not care about it.
However, there are cases when the client would like to call the same
webservice synchronously. In such a case the client will be interested in
receiving the exception and displaying it to the user, or do whatever he
needs to do with it.
Adding throwException parameter would be no-brainer, but I thought wouldn't
be nice if a web service could determine how it is being called. If asynch -
catch and log exception.
Is it possible?
Thanks,
-Stan