FileName in Content Disposition Header of AS2

In the EDIINT:send service are you sure you are passing the attachments section?

HTH,
RMG

Dear RMG,

I am passing data as stream.And its working fine when i am setting

Content-Type: application/XML; name=filename
Content-Disposition: attachment;filename=c.xml

But In our client requirement ‘a’ will be main folder and ‘b’ is sub folder and c is the actual xml file.

when i am settting content-type = application/XML; name=filename.xml
and content-disposition= attachment; filename=a/b/c.xml

we got below error:-

Unable to construct mime message javax.mail.internet.ParseException Expected ';', got "/" javax.mail.internet.ParseException: Expected ';', got "/" at javax.mail.internet.ParameterList.(ParameterList.java:280) at javax.mail.internet.ContentDisposition.(ContentDisposition.java:96) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1340)

we are using wM8.2 version

Please refer attach screen shot for EDIINT send inputs

What EDIINT module version are you on with 8.0.1 or 8.2.1?

Are you seeing attachments IDATA object like you see data object in the EDIINT:send service?

HTH,
RMG
EDIINT_send_821.docx (27.2 KB)

EDIINT module version :8.0.1

Their is no attachments IDATA object .I can see data IDATA object in input of EDIINT:send service

I think possibly you may need to update your EDIINT module to 8.2 SP1 or open a SAG ticket to check on the other options.

HTH,
RMG

Thanks for reply.we can not update EDIINT module to 8.2 SP1 .

I copied EDIINT send service in new flow service and added addmine header after creating mine data and now ediint data coming as below .

Disposition-notification-to: 213123121
AS2-From: 213123121
AS2-To: AS2_Test_21212
AS2-Version: 1.1
Message-ID: <2056614164.414.546>
Content-Type: application/xml;
Content-Disposition: attachment;filename=c/a/b.zip

Is that approach correct ?

Yes as long it works end to end but customization at all your agreement.

HTH,
RMG