Package 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

  Modifier and Type
  Method
  Description
  `static GenericWsSender`
  `getGenericWsSender()`

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

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

- ## Method Details

  - ### getGenericWsSender

    public static GenericWsSender getGenericWsSender() throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`