# EDIINT AS2  settingextracting custom header information

**URL:** <https://techcommunity.softwareag.com/t/ediint-as2-settingextracting-custom-header-information/108305>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [August 29, 2003, 7:27pm UTC](https://techcommunity.softwareag.com/t/ediint-as2-settingextracting-custom-header-information/108305 "2003-08-29T19:27:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 29, 2003, 7:27pm UTC](https://techcommunity.softwareag.com/t/ediint-as2-settingextracting-custom-header-information/108305/1 "2003-08-29T19:27:02Z")

</div>

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](mailto: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..

---

<div class="post-metadata">

**Author:** ![suresh\_palanisamy](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@suresh\_palanisamy](https://techcommunity.softwareag.com/u/suresh_palanisamy)\
**Post date:** [April 15, 2009, 4:21pm UTC](https://techcommunity.softwareag.com/t/ediint-as2-settingextracting-custom-header-information/108305/2 "2009-04-15T16:21:09Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/ediint-as2-settingextracting-custom-header-information/108305/3 "2021-04-02T15:05:10Z")

</div>


