Does anybody actually use FaultReasonText to localize faults from WCF services?

Posted by urig on Stack Overflow See other posts from Stack Overflow or by urig
Published on 2010-03-18T10:21:22Z Indexed on 2010/04/01 13:43 UTC
Read the original article Hit count: 570

Filed under:
|
|

There is a localization mechanism in WCF that enables one to localize faults returned to client, via a FaultReasonText object that's a part of the fault.

The way this is done is that you pass all possible translations of the fault's message inside a collection in the FaultReasonText. This, I understand, is based on SOAP v1.2.

Does anyone actually use this mechanism? Isn't this wasteful in terms of bandwidth? Why would you send all possible translations to a client that is (probably) only interested in a specific language?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about localization