rest - JAX RS Jersey Schema Validation -


how configure schema validation jax-rs restful services?

we using xsd define models, , jaxb generate java models.

this how it's done automatically in rexsl: xslresolver#addxsdvalidatortomarshaller() (pay attention highlighted method). in nutshell, need use setschema() of jaxb marshaller.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -