Processing of a received message with more than 30 attachments fails
sfieten opened this issue · 1 comments
When Holodeck B2B receives a message that has 30 attachments or more the processing fails in org.holodeckb2b.msgproc.RESPONDER_IN_FLOW.ProcessWSSHeaders
logging the following error message:
Failed signature validation: Missing message ID;A maxiumum of 30 references per Manifest are allowed with secure validation. Caused by: MarshalException;A maxiumum of 30 references per Manifest are allowed with secure validation
As indicated in the error message logged this is due to the XML Signature Secure Validation Mode being enabled when the signature of the message is verified. In this mode the number of ds:Reference
elements in a XML Signature is limited to 30.
This validation mode and limit are hard coded in the security libraries used by Holodeck B2B, therefore it requires a code change in Holodeck B2B to remove this limit.