The changes proposed to be done are in the following modules/projects
IHE Service Clients
XCPD Service Client
RespondingGateway_ServiceStub (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-client/epsos-xcpd-ws-client/src/main/java/tr/com/srdc/epsos/ws/xcpd/client/RespondingGateway_RequestSender.java?at=develop)
XCA Service Client
RespondingGateway_ServiceStub (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-client/epsos-xca-ws-client/src/main/java/tr/com/srdc/epsos/ws/xca/client/RespondingGateway_ServiceStub.java?at=develop)
XDR Service Client
DocumentRecipient_ServiceStub (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-client/epsos-xdr-ws-client/src/main/java/tr/com/srdc/epsos/ws/xdr/client/DocumentRecipient_ServiceStub.java?at=develop
EPSOS CC Web Services
XCPD_ServiceMessageReceiverInOut (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-server/epsos-ws-server/src/main/java/_2009/xcpd/iti/ihe/XCPD_ServiceMessageReceiverInOut.java?at=develop)
XCA_ServiceMessageReceiverInOut (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-server/epsos-ws-server/src/main/java/_2007/xds_b/iti/ihe/XCA_ServiceMessageReceiverInOut.java?at=develop, )
XDR_ServiceMessageReceiverInOut (https://bitbucket.org/openncp/protocol-terminators/src/177468556504a3a9ae12dcf1084aa55a2a8f9502/epsos-ncp-server/epsos-ws-server/src/main/java/_2007/xds_b/iti/ihe/XDR_ServiceMessageReceiverInOut.java?at=develop)
Tokens Storage
It has to be checked if it is possible to store this tokem to Audit Repository. If not then a new repository has to be introduces. Although as Massi said it is proposed to be inside the Audit Repository
Questions
There is some code in XCPDServiceImpl and XCAServiceImpl
that prepares the audit logs but don't do something with it (seems that don't send them). Perhaps we should remove it.
Release Planning
The project that will be changed to achieve this functionality is https://bitbucket.org/openncp/protocol-terminators
A new version will be introduced in pom.xml named 3.3.1-SNAPSHOT (the existing is 3.2.1)
The new openncp version will be 2.2.0 (2.2.0 Release Changelog and Notes)