I've developed a SOAP web service using SpringBoot and want to validate my request parameters like empty, length, min, max, etc. using annotation based approach and want to return the appropriate error message to the client.
I tried to make use of hibernate-validator with @Valid annotation and custom exceptionHandlers but it doesn't seems to be working for SOAP service. It's working fine for REST service.
Can you please suggest how can we achieve this in SOAP service.