Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Packaging TECHNICAL 3.23.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.