users@jax-ws.java.net

Re: turning on JAXB validation inside of JAX-WS endpoint

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Thu, 16 Mar 2006 15:37:03 -0800

No, this was a goal of the spec that we were not able to achieve
in this version. You can certainly write a handler and use JAXP to
do the validation.

Mark Hansen wrote:

> 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."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>

-- 
Doug Kohlert
Java Software Division
Sun Microsystems, Inc.
phone: 503 345-9806