phax / phase4

phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.
Apache License 2.0
154 stars 47 forks source link

Better AS4 error message when duplicate MessageId has been detected #223

Closed problemzebra2 closed 7 months ago

problemzebra2 commented 7 months ago

Currently phase4 sends an error message with a very generic error message:

grafik

It would be nicer if the ErrorDetail would contain a text like "Duplicate MessageId detected".

phax commented 7 months ago

The error message, also for duplicate messages was improved via #198 and implemented on 7.12.2023 and this was part of the 2.6.0 release (see https://github.com/phax/phase4/releases/tag/phase4-parent-pom-2.6.0 ) Are you sure, it is a duplicate message ID?

See https://github.com/phax/phase4/blob/master/phase4-lib/src/main/java/com/helger/phase4/servlet/AS4RequestHandler.java#L1429 for the current code...

phax commented 7 months ago

Okay, so the issues was resolved, as it was a customization on side of @problemzebra2