Hi everyone,
I'm trying to create a web app using the "dicom-rs" and "yew.rs" library (in the Rust programming language). I get a 409 error.
Request (generated by my code as seen in Firefox):
XHRPOST
http://210.56.0.36:8080/dcm4chee-arc/aets/SCHPACS2/rs/studies[HTTP/1.1 409 Conflict 2392ms]
--myboundary
Content-Type: application/dicom+json
[{"00080016":{"vr":"UI","Value":["1.2.840.10008.5.1.4.1.1.88.11"]},"00080018":{"vr":"UI","Value":["12345"]},"00100010":{"vr":"PN","Value":[{"Alphabetic":"XXXXXXX"}]},"00100020":{"vr":"LO","Value":["XXXXXXX"]},"0020000D":{"vr":"UI","Value":["1.2.392.200036.9116.6.18.10562196.1467.20230724090543953.1.75"]},"0040A040":{"vr":"CS","Value":["TEXT"]},"0040A160":{"vr":"UT","Value":["THIS IS A TEST REPORT."]}}]
--myboundary--
Response:
<NativeDicomModel xml:space="preserve">
<DicomAttribute keyword="ErrorComment" tag="00000902" vr="LO">
<Value number="1">javax.ejb.EJBTransactionRolledbackException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.</Value>
</DicomAttribute>
<DicomAttribute keyword="RetrieveURL" tag="00081190" vr="UR"/>
<DicomAttribute keyword="FailedSOPSequence" tag="00081198" vr="SQ">
<Item number="1">
<DicomAttribute keyword="ReferencedSOPClassUID" tag="00081150" vr="UI">
<Value number="1">1.2.840.10008.5.1.4.1.1.88.11</Value>
</DicomAttribute>
<DicomAttribute keyword="ReferencedSOPInstanceUID" tag="00081155" vr="UI">
<Value number="1">12345</Value>
</DicomAttribute>
<DicomAttribute keyword="FailureReason" tag="00081197" vr="US">
<Value number="1">272</Value>
</DicomAttribute>
</Item>
</DicomAttribute>
</NativeDicomModel>
Not sure why it could not commit transaction...
Can anyone help?