be.ehealth.technicalconnector.handler

## Class SchemaValidatorHandler

- java.lang.Object
- - be.ehealth.technicalconnector.handler.AbstractSOAPHandler
  - - be.ehealth.technicalconnector.handler.SchemaValidatorHandler

- All Implemented Interfaces:
    Handler<SOAPMessageContext>, SOAPHandler<SOAPMessageContext>

      public class SchemaValidatorHandler
      extends AbstractSOAPHandler

  This handler will validate the incoming and outgoing message against the xsd's specified in the constructor.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `VERIFY_BOTH` XSD validation on INBOUND and OUTBOUND.
    `static int` | `VERIFY_INBOUND` XSD validation on INBOUND.
    `static int` | `VERIFY_OUTBOUND` XSD validation on OUTBOUND.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SchemaValidatorHandler(int verifyType, String... schemaFile)` This constructor will creates a validator.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `handleInbound(SOAPMessageContext context)` Method that is called in the inbound flow.
    `boolean` | `handleOutbound(SOAPMessageContext context)` Method that is called in the outbound flow.

    - ### Methods inherited from class be.ehealth.technicalconnector.handler.AbstractSOAPHandler

      `close, dumpMessage, getHeaders, handleFault, handleMessage`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### VERIFY_INBOUND

          public static final int VERIFY_INBOUND

      XSD validation on INBOUND.
      See Also:
        Constant Field Values

    - #### VERIFY_OUTBOUND

          public static final int VERIFY_OUTBOUND

      XSD validation on OUTBOUND.
      See Also:
        Constant Field Values

    - #### VERIFY_BOTH

          public static final int VERIFY_BOTH

      XSD validation on INBOUND and OUTBOUND.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### SchemaValidatorHandler

          public SchemaValidatorHandler(int verifyType,
                                        String... schemaFile)

      This constructor will creates a validator.

  - ### Method Detail

    - #### handleInbound

          public boolean handleInbound(SOAPMessageContext context)

      Description copied from class: `AbstractSOAPHandler`
      Method that is called in the inbound flow.
      Overrides:
        `handleInbound` in class `AbstractSOAPHandler`

    - #### handleOutbound

          public boolean handleOutbound(SOAPMessageContext context)

      Description copied from class: `AbstractSOAPHandler`
      Method that is called in the outbound flow.
      Overrides:
        `handleOutbound` in class `AbstractSOAPHandler`

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.