Package be.ehealth.businessconnector.mycarenet.agreementv2.service

# Class ServiceFactory

java.lang.Object
be.ehealth.businessconnector.mycarenet.agreementv2.service.ServiceFactory

public final class ServiceFactory extends Object
A factory used in `AgreementService` to communicate with the endpoint.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static GenericRequest`
  `getAgreementPort(SAMLToken token)`
  Creates a `GenericRequest` for the given SAML token and soap action

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

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

- ## Method Details

  - ### getAgreementPort

    public static GenericRequest getAgreementPort(SAMLToken token) throws TechnicalConnectorException
    Creates a `GenericRequest` for the given SAML token and soap action
    Parameters:
      `token` - the token
    Returns:
      the generic request
    Throws:
      `TechnicalConnectorException` - the technical connector exception