Geeks With Blogs

News

Google My Blog


Murray Gordon Flash a-ah! Savior of the universe...

Today someone asked me about a challenge they are facing in Silverlight 2.

Here’s their question and the answer.

QUESTION:

“We have an issue with Silverlight 2 and SOAP exceptions. Silverlight doesn’t like to let you look at the content of the SOAP exception in the messages. How do I get the content of the SOAP exceptions?”

ANSWER:

You can find a detailed answer here:

Eugene Osovetsky's Blog: Faults and Exceptions when using Web Services in Silverlight 2 
(Here’s the url: http://eugeneos.blogspot.com/2008/09/faults-and-exceptions-when-using-web.html)

The short answer is

Silverlight 2 does not support this. Exceptions propagate back to the client as SOAP Faults which are 400/500 level status codes.  Due to the browser’s limitation and security reasons, we only return 200 codes that indicate something went wrong. If you are simply trying to debug, you can use fiddler to sniff the wire.

Also, Thanks for checking out this post!

Cheers,
MurraySignature

Murray Gordon
ISV Architect Evangelist
Microsoft Corporation 
chat
 facebook Twitter linkedin WindowsSpaces XBox Live Multiply  LiveMessenger
blog http://blogs.msdn.com/MurrayG
blog US ISV Team Blog
blog My GeeksWithBlogs Blog

Posted on Wednesday, January 14, 2009 3:44 PM | Back to top


Comments on this post: How to check out the content of SOAP exceptions in Silverlight 2

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Murray Gordon | Powered by: GeeksWithBlogs.net