I have a requirement to validate the schema of my web service request. I have looked at PayloadValidatingInterceptor (server side) and it would appear to meet my needs.
However, the requirement is to also support multiple concurrent versions of the schema. So the incoming XML message could contain a message with any one of a number of versions of the schema. A <schemaVersion> element will tell me what version of the schema was used. Thus, I can't use PayloadValidatingInterceptor which only allows for one schema.
What would be the best way to validate multiple concurrent versions of a schema with Spring WS?