be.ehealth.technicalconnector.ws

## Class ServiceFactory

- java.lang.Object
- - be.ehealth.technicalconnector.ws.ServiceFactory

-     public final class ServiceFactory
      extends Object

  Servicefactory to obtain the genericWsSender

  `GenericRequest request = new GenericRequest();
  request.setPayload(...);
  request.setEndpoint(...);
  request.setCredential(...,...);
  request.setDefaultHandlerChain();
  GenericResponse response = ServiceFactory.getGenericWsSender().send(request);
  String payload = response.asString();
  *` Creates `GenericWsSender`

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GenericWsSender` | `getGenericWsSender()`

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

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

- - ### Method Detail

    - #### getGenericWsSender

          public static GenericWsSender getGenericWsSender()
                                                    throws TechnicalConnectorException

      Throws:
        `TechnicalConnectorException`

Connector Packaging OTMOBILITYIMPROVEMENT 4.6.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.