You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "S. Youssef (Jira)" <ji...@apache.org> on 2020/05/26 10:33:00 UTC

[jira] [Created] (CAMEL-15111) AS2 component failed to parse entity content

S. Youssef created CAMEL-15111:
----------------------------------

             Summary: AS2 component failed to parse entity content
                 Key: CAMEL-15111
                 URL: https://issues.apache.org/jira/browse/CAMEL-15111
             Project: Camel
          Issue Type: Bug
            Reporter: S. Youssef
             Fix For: 3.3.0


AS2 component can receive only messages that has the following content-type: 
 * application/edifact
 * application/edi-x12
 * application/edi-consent

in case of a PLAIN interchange it works fine, however when i try to receive an ENCRYPTED/SIGNED/COMPRESSED messages camel don't recognize the content type of the interchange.

Here is the message sent by my trading partner : 


{code:java}
AS2-From: ESALINK
AS2-To: YSF2
AS2-Version: 1.2
Date: Mon, 25 May 2020 22:04:47 GMT
Disposition-Notification-Options: signed-receipt-protocol=optional,pkcs7-signature;signed-receipt-micalg=optional,md5
Disposition-Notification-To: ediint-sync-mdn
EDIINT-Features: multiple-attachments
Message-ID: <20...@DESKTOP-OT6I4JG>
Subject: message from YSF
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=md5; boundary="------15ECC40FF5D299411590444287BC801"
--------15ECC40FF5D299411590444287BC801
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="smime.p7m"
Content-Type: application/pkcs7-mime; smime-type=compressed-data; name="smime.p7m"0€*†H†÷
		 €0€0*†H†÷
	0€	*†H†÷
 €$€‚îxrÎÏ+IÍ+Ñ
)JÌ+NK-ÒuÍKÎOÉÌK- RHÊÌK,ªäår†*qÉ,.È/Î,ÉÌϳRH,)ILÎÈjµVHËÌIÍKÌMµU*ÎÍÌMÕ+0ÏUBh©,Hª/(ÈÉLNiÖ/ÈN.6×)µVëÐ-ª±MÍ+KÍÉ/HMÑMI,I´VÀ4'—Ë ‰©€S«Í£í;/#;ó‚&¦D P,#ƒaãqƒ&ÆÃ@¦Aã*ƒÆ%†ÜœlÌ¡,lÂLnA†ü¼ ‡0›Ð§É©†|< vaրĢÌbC1ŸK˜×=5/µ(³BÁ½(¿´ÀPÆ@
$Î-,ìšö»0¨RR#
ŠR‹‹

øA²Ì‰E%@}F†Úšpr2ŠÉ"€"W€•;¤CŒN™¬—œŸr,/\5##+K#ƒYOú¿¥Šw6ßíiJ(»œqÉj­ã±_bE§fýÖas®XµxÚ'Ï™|
ý;ûÄNN7ßÕÆs{é|ƒ|wïkž<×\ý>- ú!ûFƒ™>{Ÿ™Yîúa:ÙúÊšÚÞná°|zu†- è=îwÅ—VßøW§ÿùëãÎ þg¥nš
«½n°tzwË{Lb]0Kÿ¿ÅÛ
{code}

camel will send an MDN containing this message: 


{code:java}
Failed to parse entity content{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)