Package 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
  Description
  `static final String[]`
  `GENINS_XSD`
  Required XSD (!order is important)

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### GENINS_XSD

    public static final String[] GENINS_XSD
    Required XSD (!order is important)

- ## Method Details

  - ### 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`