How do you Handle a TimeoutException when calling WebServices using the SoapClient in Silverlight?
Asked Answered
B

1

2

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

Brachyuran answered 4/11, 2008 at 2:45 Comment(0)
B
0

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!!

Brachyuran answered 5/11, 2008 at 16:56 Comment(2)
Is this still true in Silverlight 3?Vestige
Good question, I am facing that problem now.Meningitis

© 2022 - 2024 — McMap. All rights reserved.