In the documentation is an example on how to configure operationBehaviors in XML: http://msdn.microsoft.com/en-us/library/dd140110.aspx.
<validation enabled="true" ruleset="Bank2Rules"/>
As far as I know operation behaviors can only be added via attributes. Does anyone know how this is supposed to work? I would like to use this approach and remove the attributes from code and place them in the configuration.