Implementing a REST API which talks to a SOAP based service. Here SOAP based entities are generated and used. Wanted to add validation for each of these beans before invokin