Figure 2. Make Services Configurable With WS-Policy.
You can use assertions to declare security qualities including integrity, authentication, and encryption with minimal or no code. Web Services Enhancements (WSE) enforces your policy upon incoming and outgoing messages.