be.ehealth.businessconnector.ehbox.v3.session
Class ServiceFactory
java.lang.Object
be.ehealth.technicalconnector.session.AbstractSessionServiceFactory
be.ehealth.businessconnector.ehbox.v3.session.ServiceFactory
public final class ServiceFactory
- extends AbstractSessionServiceFactory
A factory for creating EhealthBoxServiceV3
.
easiest way to use ehealthBox. it provide a service initializing the session with default params and url.
you must have a properties file called be.ehealth.technicalconnector.properties that contains following keys
validation.incoming.ehbox.v3.message=true endpoint.ehbox.consultation.v3=https://services-acpt.ehealth.fgov.be/ehBoxConsultation/v3
endpoint.ehbox.publication.v3=https://services-acpt.ehealth.fgov.be/ehBoxPublication/v3 KEYSTORE_DIR= test.session.user=
test.session.firstname= test.session.lastname= test.session.password=
next, you just have to call like this exemple EhealthBoxServiceV3 service = ServiceFactory.getEhealthBoxServiceV3();
use BuilderFactory
to build request Object to correct format.
getEhealthBoxServiceV3
public static EhealthBoxServiceV3 getEhealthBoxServiceV3()
throws ConnectorException
- Gets the eHealth Box service V3.
- Throws:
ConnectorException
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.