This post originated from an RSS feed registered with .NET Buzz
by Udi Dahan.
Original Post: Exceptions and SOA...
Feed Title: Udi Dahan - The Software Simplist
Feed URL: http://feeds.feedburner.com/UdiDahan-TheSoftwareSimplist
Feed Description: I am a software simplist. I make this beast of architecting, analysing, designing, developing, testing, managing, deploying software systems simple.
This blog is about how I do it.
Most web services created by todays tools will blow up if they try to deserialize an exception (or anything else for that matter) that they don't know. In other words, if you're throwing a custom exception, and the consumer doesn't have a reference to that type, they'll probably get a serialization exception instead of the exception you threw.
Makes throwing exceptions between services seem downright useless, doesn't it?