This project is read-only.

Error Handler

Topics: Technical Questions
Jun 3, 2009 at 4:06 PM


I wonder how to implement a custom Herror Handler for a EndPoint in MSE. I´m trying to make like a "ConvertToFault" error handler and perhaps loging.

I think that custom behaviors is not going to work. Pleace any suggestion  going to help.




Jun 3, 2009 at 6:28 PM

You could implement a WCF message inspector and attach it to the operation version as a policy.  this message inspector would interrogate the response and when appropriate, replace the response message with one that is a fault.  You could do this at the MSE Endpoint as well.