users@jax-ws.java.net

turning on JAXB validation inside of JAX-WS endpoint

From: Mark Hansen <mark_at_javector.com>
Date: Thu, 16 Mar 2006 14:45:35 -0500

With a JAXB Marshaller or Unmarshaller, I can use the
setSchema(javax.xml.validation.Schema schema) method to turn on
validation and have JAXB validate against the provided schema.

How can I do something similar on a JAX-WS endpoint (or a client, i.e.,
BindingProvider). Is it possible?

The JAX-WS 2.0 specification (Chapter 1, Section 1.1) says:

"JAX-WS 2.0 will allow full use of JAXB provided facilities including
binding customization and optional schema validation."