Take Control of Web Service Exceptions

Posted by: youve been HAACKED, on 02 Nov 2005 | View original | 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
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1161 | Hits: 18

Similar Posts

  • Introducing Recurring Appointments for Web.UI Scheduler ASP.NET AJAX more
  • Adhoc testing of .NET RIA Services more
  • ASP.NET 4 Beta 2 - New Version, New Docs, New MSDN Site ! more
  • Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier more
  • My ASP.NET MVC stack and why I chosen it more
  • Why not Classic (Legacy) ASP? more
  • Exporting SWF & FLV format reports in SSRS 2005 and 2008 more
  • Announcing the WebsiteSpark Program more
  • Using Microsoft's Chart Controls In An ASP.NET Application: Sorting and Filtering Chart Data more
  • Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth 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