Error Handler

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

Hello,

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.

 

Thanks.

n.s.

Developer
Jun 3, 2009 at 5: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.