EDIINT AS2 settingextracting custom header information

We have customers sending us AS2 messages and including filename in a header called “content-disposition”. They do not have control over the “content-type” section and this is all they can do.

Sample section of EDIINT data is below -


date: Wed, 27 Aug 2003 19:59:54 GMT

from: C:\EdiData\outbound\wwre

as2-version: 1.1

as2-from: PARTNER_DUNS

as2-to: OUR_COMPANY_DUNS

subject: EDIINTDATA

message-id: <200308271459531f110543@haggaras2>

disposition-notification-to: C:\EdiData\outbound\wwre

disposition-notification-options: signed-receipt-protocol=optional,pkcs7-signature; signed-receipt-micalg=optional,sha1

content-type: application/pkcs7-mime; smime-type=enveloped-data; name=“smime.p7m”

content-disposition: inline; filename=“CustomFileName.txt”

Once we receive the transmission, We need to be able to extract that “” so we can save the payload under the appropriate name. I have so far been able to extract things only out of “content-type” but nothing else.

Also, I have been trying to setup another QA box to send me a similar transmission, but cant set it up to SEND that parameter either.

Any ideas VERY HIGHLY appreciated…

Which part of the EDIINT has the Content-Disposition Header?

  1. SMIME envelope?
  2. Payload ?
  3. Digital Signature portion?

If it is coming on the AS2/MIME/HTTP header level,then you should be able to extract the MIME header using the tn mime built in services.

If it is signed encrypted and sent in payload part, then i doubt if wM can do it or not!