|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @WebServiceFeatureAnnotation(id="http://jax-ws.dev.java.net/features/schema-validation", bean=SchemaValidationFeature.class) public @interface 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.
SchemaValidationFeature
Optional Element Summary | |
---|---|
Class<? extends ValidationErrorHandler> |
handler
Configure the validation behaviour w.r.t error handling. |
public abstract Class<? extends ValidationErrorHandler> handler
ValidationErrorHandler
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |