Question

How do you handle a TimeoutException that is generated when calling WebServices using the SoapClient?

There doesn't seem to be any event to be handled in order to catch any Exceptions generated when calling web services.

Is it possible to catch any Exceptions thrown, especially the TimeoutException??

I also posted this question to the Silverlight.net forums: http://silverlight.net/forums/p/46029/124010.aspx

Was it helpful?

Solution

Apparently, NO. There is no way to handle any Exceptions thrown when invoking Web Service Methods in Silverlight 2. Unless of course you create your own modified version of the SoapClient that Visual Studio auto-generates for you. This is a Terrible Design Flaw!!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top