Closed AlbertTse closed 1 year ago
Hi @AlbertTse,
please note that compression of the payloads can only be enabled in the P-Mode by adding a //UserMessageFlow/PayloadProfile/UseAS4Compression
element with value true. This means that in you "gzip" scenario the compression feature is not used and the payload and its meta-data is sent as is, meaning that the MIME type of the attachment is incorrectly indicated as application/xml. This probably causes the signature validation to fail as XML attachment are processed differently than other file types.
Hi,
I configured Pmode with "signing" property.
When I send out message with "gzip" attachment,
"Authentication of message unit failed" error show.
![ErrorMsg_Authentication of message unit failed](https://user-images.githubusercontent.com/121850337/210313039-9cc01272-827e-4859-9d5c-925bec29b549.jpg)
If I send out message with a simple document attachment (e.g., xml), it works.
Any additional configuration is required for "gzip" attachment? Does it support signing with a gzip attachment?
Pmode / mmd files as follow