Page tree
Skip to end of metadata
Go to start of metadata

Utilities Package

Project Lead

SRDC


Implementation

SCM location

https://code.google.com/p/epsos-common-components.util/


Version 0.2.2-SNAPSHOT

by

SPMS

Changes

  • EpsosConfigurationService
  • FileUtils
    • UTF_8 = "UTF-8"
  • Constants
    • CONSENT_PUT_SUFFIX = ".2.4.1.1"
    • CONSENT_DISCARD_SUFFIX = ".2.4.1.2"
    • PATIENT_IDENTIFICATION_SERVICE = "!PatientIdentificationService";
    • PATIENT_SERVICE = "!PatientService";
    • CONSENT_SERVICE = "!ConsentService";
    • ORDER_SERVICE = "!OrderService";
    • NOT_USED_FIELD = "not used";

Description

Snapshot version; in order to allow continuous additions.


Version 0.2.1

by

SPMS

Changes

  • Constants:
    • CONSENT_PUT_SUFFIX = ".2.4.1.1"
    • CONSENT_DISCARD_SUFFIX = ".2.4.1.2"
    • PATIENT_IDENTIFICATION_SERVICE = "!PatientIdentificationService";
    • PATIENT_SERVICE = "!PatientService";
    • CONSENT_SERVICE = "!ConsentService";
    • ORDER_SERVICE = "!OrderService";

Description

This constants are used in XCPD client, for the HL7 messagens handling, and for audit purposes.


Version 0.2.0

by

SRDC

Description

This was the base code (version) provided to the openNCP.

2 Comments

  1. Hello,

    Two problems with the binary distribution of the epsos-client-connector (occuring when receiving a patient identification request from epsos-web component):

    1) java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat

    Log extract:

    FINE: Security checking request POST /epsos-client-connector/services/ClientConnectorService.ClientConnectorServiceHttpSoap11Endpoint/
    Mar 12, 2013 3:11:15 PM org.apache.catalina.authenticator.AuthenticatorBase invoke
    FINE: Not subject to any constraint
    2013-03-12 15:11:15,946 [http-bio-13080-exec-1] ERROR org.apache.axis2.transport.http.AxisServlet - org/apache/xml/serialize/OutputFormat
    java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat
    at tr.com.srdc.epsos.util.XMLUtil.prettyPrint(XMLUtil.java:108)
    at eu.epsos.pt.cc.ClientConnectorServiceMessageReceiverInOut.invokeBusinessLogic(ClientConnectorServiceMessageReceiverInOut.java:73)

    --> solved by adding xercesImpl-2.9.1.jar into epsos-client-connector/WEB-INF/lib

    2) Could not initialize class tr.com.srdc.epsos.util.Constants / java.lang.NoClassDefFoundError: Could not initialize class tr.com.srdc.epsos.util.Constants

    Log extract:

    2013-03-12 15:28:54,452 [http-bio-13080-exec-1] INFO tr.com.srdc.epsos.securityman.SAML2Validator - Loading National implementation of PolicyManagerInterface...
    2013-03-12 15:28:54,456 [http-bio-13080-exec-1] INFO tr.com.srdc.epsos.securityman.SAML2Validator - Successfully loaded PolicyManager
    2013-03-12 15:28:57,604 [http-bio-13080-exec-1] DEBUG eu.epsos.pt.cc.ClientConnectorServiceSkeleton - queryPatient | Start
    2013-03-12 15:28:57,606 [http-bio-13080-exec-1] ERROR org.apache.axis2.transport.http.AxisServlet - Could not initialize class tr.com.srdc.epsos.util.Constants
    java.lang.NoClassDefFoundError: Could not initialize class tr.com.srdc.epsos.util.Constants
    at eu.epsos.pt.cc.ClientConnectorServiceSkeleton.queryPatient(ClientConnectorServiceSkeleton.java:88)
    at eu.epsos.pt.cc.ClientConnectorServiceMessageReceiverInOut.invokeBusinessLogic(ClientConnectorServiceMessageReceiverInOut.java:155)
    at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
    at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
    at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
    at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

    --> Any idea why ? The class is present in the jar WEB-INF/lib/epsos-util-0.3.1.jar

    Thanks !!

    Stéphane

  2. Question about properties: what is the use of the AUDIT_DUMP_PATH property ?