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."