ministero-salute/it-fse-support

CRASH PROGRAM - Recupero stato trasazione non chiaro

Closed this issue · 1 comments

Buongiorno,
stiamo provando ad eseguire una delete.
Ci siamo accorti che il tentativo non va a buon fine, tuttavia l'errore restituito dalla RDA sembra non essere recuperabile tramite lo stato
traceID
5e0dbaa7fcabd85b

Risposta dello status
{
"traceID": "09210e228a75ec69",
"spanID": "7c8189969aeb3f67",
"transactionData": [
{
"eventType": "RIFERIMENTI_INI",
"eventDate": "2024-09-25T06:41:55.004+00:00",
"eventStatus": "SUCCESS",
"message": "Riferimenti trovati: urn:uuid:989ea68b-6480-4452-b391-d9ed4660f431",
"identificativoDocumento": "2.16.840.1.113883.2.9.2.41.4.4^IKIS-LAB-PDFCDA2_032656928463",
"subject": "VVNMSM75B01A703D^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
"tipoAttivita": "PHR",
"organizzazione": "041",
"workflowInstanceId": "d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
"traceId": "5e0dbaa7fcabd85b",
"issuer": "integrity:S2#041#PABOLZANOTEST",
"expiringDate": "2025-09-25T06:41:55.110+00:00"
},
{
"eventType": "INI_DELETE",
"eventDate": "2024-09-25T06:42:02.230+00:00",
"eventStatus": "ASYNC_RETRY",
"message": "Transazione presa in carico",
"identificativoDocumento": "2.16.840.1.113883.2.9.2.41.4.4^IKIS-LAB-PDFCDA2_032656928463",
"subject": "VVNMSM75B01A703D^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
"tipoAttivita": "PHR",
"organizzazione": "041",
"workflowInstanceId": "d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
"traceId": "5e0dbaa7fcabd85b",
"issuer": "integrity:S2#041#PABOLZANOTEST",
"expiringDate": "2025-09-25T06:42:02.240+00:00"
}
]
}

Messaggio di errore della DELETE:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
env:Header
<a:Action env:mustUnderstand="true">urn:ihe:iti:2010:DeleteDocumentSetResponse</a:Action>
<a:RelatesTo>baccdc0e-90ce-4c07-823c-3e424bd3c571</a:RelatesTo>
</env:Header>
env:Body
<rs:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure">
<rs:RegistryErrorList highestSeverity="urn:oasis:names:tc:ebxmlregrep:ErrorSeverityType:Error">
<rs:RegistryError codeContext="entryUUID passed does not exist in the recipient system : '989ea68b-6480-4452-b391-d9ed4660f431'" errorCode="UnresolvedReferenceException" location="unknown" severity="oasis:names:tc:ebxmlregrep:ErrorSeverityType:Error"/>
</rs:RegistryErrorList>
</rs:RegistryResponse>
</env:Body>
</env:Envelope>

Buongiorno,
Può avere maggiori dettagli sullo stato della transazione e recuperare il messaggio di errore chiamando il servizio /v/status/{workflowInstanceId}, dove {workflowInstanceId} è il wii a cui è stato applicato l'url encode (d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd%5E%5E%5E%5Eurn%3Aihe%3Aiti%3Axdw%3A2013%3AworkflowInstanceId):

{
"traceID": "94889ce6918ce944",
"spanID": "8c522c27364eb997",
"transactionData": [
{
"eventType": "RIFERIMENTI_INI",
"eventDate": "2024-09-25T06:41:55.004+00:00",
"eventStatus": "SUCCESS",
"message": "Riferimenti trovati: urn:uuid:989ea68b-6480-4452-b391-d9ed4660f431",
"identificativoDocumento": "2.16.840.1.113883.2.9.2.41.4.4^IKIS-LAB-PDFCDA2_032656928463",
"subject": "VVNMSM75B01A703D^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
"tipoAttivita": "PHR",
"organizzazione": "041",
"workflowInstanceId": "d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
"traceId": "5e0dbaa7fcabd85b",
"issuer": "integrity:S2#041#PABOLZANOTEST",
"expiringDate": "2025-09-25T06:41:55.110+00:00"
},
{
"eventType": "INI_DELETE",
"eventDate": "2024-09-25T06:42:02.230+00:00",
"eventStatus": "ASYNC_RETRY",
"message": "Transazione presa in carico",
"identificativoDocumento": "2.16.840.1.113883.2.9.2.41.4.4^IKIS-LAB-PDFCDA2_032656928463",
"subject": "VVNMSM75B01A703D^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
"tipoAttivita": "PHR",
"organizzazione": "041",
"workflowInstanceId": "d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
"traceId": "5e0dbaa7fcabd85b",
"issuer": "integrity:S2#041#PABOLZANOTEST",
"expiringDate": "2025-09-25T06:42:02.240+00:00"
},
{
"eventType": "SEND_TO_INI",
"eventDate": "2024-09-25T06:42:09.075+00:00",
"eventStatus": "BLOCKING_ERROR_MAX_RETRY",
"message": "Massimo numero di retry raggiunto: 500 : "{"traceID":"d4c89e9912f20c9b","spanID":"d4c89e9912f20c9b","type":"/errors","title":"Generic","detail":"com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Missing mandatory attributes in the attribute assertion Please see the server log to find more detail regarding exact cause of the failure.","instance":"error/generic"}"",
"workflowInstanceId": "d6ac05fa750dd32e846257f1af0a25308f86771b97efb3478e27d7da132773aa.8005f01dcd^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
"expiringDate": "2025-09-25T06:42:09.085+00:00"
}
]
}

Rimaniamo a disposizione per ulteriori chiarimenti.