Take Control of Web Service Exceptions

Posted by: youve been HAACKED, on 02 Nov 2005 | View original | NEW Bookmarked: 0 time(s)

Craig Andera posts a technique for handling exceptions thrown by a webservice. He takes the approach of adding a try catch block to each method. A while ago I tackled the same problem, but I was unhappy with the idea of wrapping every inner method call with a try catch block. I figured there had to be a better way. Since SOAP is simply XML being sent over a wire, I figured there had to be a way for me to hook into the pipeline rather than modify my code. What I came up with is my Exception Injection...

Advertisement
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 889 | Hits: 18

Similar Posts

  • Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier more
  • My ASP.NET MVC stack and why I chosen it more
  • Introducing Recurring Appointments for Web.UI Scheduler ASP.NET AJAX more
  • Why not Classic (Legacy) ASP? more
  • Adhoc testing of .NET RIA Services more
  • ASP.NET 4 Beta 2 - New Version, New Docs, New MSDN Site ! more
  • Q3 2009 Beta released for Telerik RadControls for Silverlight/WPF more
  • Web.UI 2008.2 Grid News: Grouping more
  • Gauges to join ComponentArt's expanding list of controls more
  • Tapping Into the Raw Power of Silverlight more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD