be.ehealth.businessconnector.genins.service

## Class ServiceFactory

- java.lang.Object
- - be.ehealth.businessconnector.genins.service.ServiceFactory

-     public final class ServiceFactory
      extends Object

  A factory for `GenInsService`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String[]` | `GENINS_XSD` Required XSD (!order is important)

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GenericRequest` | `getGeninsPort(SAMLToken token)` Gets the Genins service.
    `static GenInsService` | `getGeninsService()` Gets the Generic Insurability service.

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

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

- - ### Field Detail

    - #### GENINS_XSD

          public static final String[] GENINS_XSD

      Required XSD (!order is important)

  - ### Method Detail

    - #### getGeninsService

          public static GenInsService getGeninsService()

      Gets the Generic Insurability service.
      Returns:
        the Generic Insurability service

    - #### getGeninsPort

          public static GenericRequest getGeninsPort(SAMLToken token)
                                              throws MalformedURLException,
                                                     TechnicalConnectorException,
                                                     GenInsBusinessConnectorException

      Gets the Genins service.
      Parameters:
        `token` - the token
      Returns:
        the consultation service
      Throws:
        `MalformedURLException` - the malformed url exception
        `TechnicalConnectorException` - the technical connector exception
        `GenInsBusinessConnectorException`

Connector Package PERSDENTIST 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.