java - Data or Incoming Request Validation Framework or Best Approach -


hi fellow programmers,

i wondering best way perform validation of requests received on web service? know there might several ways requirement have around 1100 clients sends requests on published web service. real problem here every client has own validation rules example 1 client company name should not more 10 characters , should alphanumeric , other clients there's no requirement of company name being alphanumeric needs plain string less 30 characters. on , forth. fields needs validation more 50. should have database save validations rules per client , these validation rules applied upcoming requests client. can point me in correct direction? should use , how should it? best way perform these kind of validations? framework available? advance.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -