com.sun.xml.ws.developer
public class: SchemaValidation [javadoc |
source]
com.sun.xml.ws.developer.SchemaValidation
Validates all request and response messages payload(SOAP:Body) for a
WebService
against the XML schema. To use this feature, annotate the endpoint class with
this annotation.
for e.g.:
@WebService
@SchemaValidation
public class HelloImpl {
...
}
At present, schema validation works for doc/lit web services only.
| Method from com.sun.xml.ws.developer.SchemaValidation Summary: |
|---|
|
handler |
| Method from com.sun.xml.ws.developer.SchemaValidation Detail: |
Class<ValidationErrorHandler> handler() {
}
Configure the validation behaviour w.r.t error handling. The default handler
just rejects any invalid schema intances. If the application want to change
this default behaviour(say just log the errors), it can do so by providing
a custom implementation of ValidationErrorHandler . |