on 07-05-2013 3:14 PM
Hi Experts,
I am facing an issue in my java mapping . Dynamic filenames are not getting reflected while I am creating attachments in my mapping and configuring it via mail adapter .
I am getting both the attachments with the name : Attachment.txt
Following is the code that I am using ...
Attachment att1 = out.getOutputAttachments().create(
"content id1","text/plain;charset=\"UTF-8\";filename=\"abc.txt\"", b1);Attachment att2 = out.getOutputAttachments().create("content id1","text/plain;charset=\"UTF-8\";filename=\"def.txt\"", b1);
The above code is working perfectly on PI 7.31 EXT_04_REL .... But its not working on PI 7.31 EXT_07_REL....
Please let me know if there is any workaround...
Regards
Vinay
Look like the reason why it is working on PI 7.31 EXT_04_REL server is that it is a dual stack server and mapping is running in IE
But the same mapping is not working on PI 7.31 EXT_07_REL which is a single stack(java) server .
Issue might be related to mapping execution in AE .
I will be raising an SAP note for the same . Will keep you all updated .
Regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Attachment att1 = out.getOutputAttachments().create(
"content id1","text/plain;charset=\"UTF-8\";filename=\"abc.txt\"", b1);Attachment att2 = out.getOutputAttachments().create("content id1","text/plain;charset=\"UTF-8\";filename=\"def.txt\"", b1);
The content id should have the attachment name, so your code should look like
Attachment attachments = out.getOutputAttachments().create("abc.txt","text/plain",b1);
attachments = out.getOutputAttachments().create("def.txt","text/plain",b1);
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Kindly share the error details, it will easy to analysis .
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.