Annotation Type SchemaValidation

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends ValidationErrorHandler> handler
      Configure the validation behaviour w.r.t error handling.
      boolean inbound
      Turns validation on/off for inbound messages
      boolean outbound
      Turns validation on/off for outbound messages
    • Element Detail

      • handler

        Class<? extends 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.
        Default:
        com.sun.xml.ws.server.DraconianValidationErrorHandler.class
      • inbound

        boolean inbound
        Turns validation on/off for inbound messages
        Since:
        JAX-WS RI 2.2.2
        Default:
        true
      • outbound

        boolean outbound
        Turns validation on/off for outbound messages
        Since:
        JAX-WS RI 2.2.2
        Default:
        true