# setting actual filename in WM but partner is receiving as datetime.edi file

**URL:** <https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [April 1, 2015, 7:29pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286 "2015-04-01T19:29:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doug\_Dunn](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Doug\_Dunn](https://techcommunity.softwareag.com/u/Doug_Dunn)\
**Post date:** [April 1, 2015, 7:29pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/1 "2015-04-01T19:29:03Z")

</div>

I am sending a xls spreadsheet over AS2 to a partner using RSSBus as the as2 solution.  
I am setting the content disposition and the message id of the EDIINT. The partner still receives it as 2015-04-01-20-29-00-752134.edi. No idea where that name is coming from.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [April 1, 2015, 7:50pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/2 "2015-04-01T19:50:34Z")

</div>

Interesting…Where do you mention it to use RSSbus for AS2 in the EDIINT:send?

Is your TP not receiving the payload and what is the content-type you have set for xls?

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Doug\_Dunn](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Doug\_Dunn](https://techcommunity.softwareag.com/u/Doug_Dunn)\
**Post date:** [April 1, 2015, 7:55pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/3 "2015-04-01T19:55:19Z")

</div>

let me clarify. The trading partner is using RSSBus to receive the AS2 file.  
I am using standard WM EDIINT processes.  
The Partner is receiving the payload correctly. I set the Message ID of the EDIINT and I set the content disposition to be the filename of Test\_send.xls but the name they are receiving seems to be some date time stamp.edi file.

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [April 1, 2015, 8:50pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/4 "2015-04-01T20:50:01Z")

</div>

Did you check the AS2 envelope that was sent out from WM?  
My guess is that timestamp.edi is generated by the receiver’s system.

---

<div class="post-metadata">

**Author:** ![Doug\_Dunn](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Doug\_Dunn](https://techcommunity.softwareag.com/u/Doug_Dunn)\
**Post date:** [April 1, 2015, 9:10pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/5 "2015-04-01T21:10:27Z")

</div>

Yes. I just found out that if the filename is not set correctly then there system creates the name.  
I am now trying to figure out how to set the filename attribute of the string “Content-Type: application/pkcs7-mime; name=smime.p7m;” This string is found when you look at the ediintdata in MWS.

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [April 1, 2015, 9:49pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/6 "2015-04-01T21:49:28Z")

</div>

This is the default when you do encryption.  
Try to use plain (no encryption, no signing), so you can see the content disposition directly

---

<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:33pm UTC](https://techcommunity.softwareag.com/t/setting-actual-filename-in-wm-but-partner-is-receiving-as-datetime-edi-file/181286/7 "2021-04-02T15:33:10Z")

</div>


