BizTalk MIME Encoder - Filename issue

Hi All,
I am using MIME enoder component. In order to assign a proper name for the attachment, I used the below code in a custom pipeline component.
attachmentPart.PartProperties.Write("FileName", "http://schemas.microsoft.com/BizTalk/2003/mime-properties","SampleXml - Copy.xml");
However, when I see the actual message that is transmitted (using fiddler), file name is encoded into some cryptic value like below..
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-ID: {17DE6096-2E1A-4F6A-BD27-7F6532AE4E10}
Content-Description: SampleXml - Copy.xml
Content-Disposition: filename="=?utf-8?B?U2FtcGxlWG1sIC0gQ29weS54bWx=?="
My end system wants specific file name to be present in Content-Disposition. Does any one have any idea why this is happening and how to correct it ?
Thanks in advance...

For the benfit of others,
http://stackoverflow.com/questions/454833/system-net-mail-and-utf-8bxxxxx-headers has the answer for my question.
When I send a file with name: SampleXml.xml
and it is converted to “=?utf-8?B?U2FtcGxlWG1sLnhtbA==?=”
by MIME Encoder
Pipeline component.
Base64 encoded value of SampleXml.xml
is U2FtcGxlWG1sLnhtbA==

Similar Messages

  • XML file with an attached MIME encoded ZIP file

    Hi all,
    I'm new to SAP WAS and MIME encoding/decoding, and I'm trying to generate an XML file with an attachment which is also MIME encoded.
    1) I have dummy files (1.jpg, 2.jpg) and I'm trying to zip these files into one zip file (files.zip).
    2) I'm trying to MIME encode/decode this zip file.
    3) I'm trying to attach this MIME encoded zip file to existing XML file.
    Which FMs could I use to accomplish this?  Your help is very appreciated.
    Thank you.
    below is a file example that I'm trying to generate.
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="--XXXXboundary text"
    Content-Transfer-Encoding: 7bit
    This is a multi-part message in MIME format.
    --XXXXboundary text
    Content-Type: text/xml;
         charset="utf-8"
    Content-Transfer-Encoding: 8bit
    <?xml version="1.0" encoding="utf-8"?>
    <abc/>
    <def/>
    --XXXXboundary text
    Content-Type: application/octet-stream;       name="files.zip"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment
    UEsDBBQAAAAIAI9EejAs5k34H84DAAYgBAAMAAAAMDAyMjQ5MTEucGRmnLsJWBNJ2zb6jmJIIIFE
    BAMIJGEVBSKGRRAhEGQNoGwKYoiAEnYRUFGIkBAQFzYXRNHAAEGQZRy2ATFDUAHfGScSIUwQMMrM
    ECGADptA0n/jzLtc//dd51znVAKdru6uqn7q6fu5764qQz

    Just create an applet (extend JApplet)... add a JTextArea to it....fill the text area with the text from an XML doc.
    To get the text of the XML doc just do something like..
    File xmlFile = new File("<path to xml file>");
    FileInputStream fis = new FileInputStream(xmlFile);
    byte[] bytes = new byte[(int) xmlFile.length()];
    fis.read(bytes);
    fis.close();
    String xmlText = new String(xmlBytes);
    textArea.setText(xmlText);
    ...try something like that (assuming..i understand what it is u want)

  • MIME encode a jar file

    Hello to all,
    I want to place a jar file into the XML for transmission over network. I know that i need to encode the jar file for placing it into the XML since jar file is a binary data. Does any one have any idea idea how to MIME encode a jar file and then put the encoded jar file into an XML for transmission.
    Thanks & Regards,
    Girish

    Look down a few posts to the MediaTracker question. Basically you should use the getResource method to grab a URL to a file in your jar file. Then you can pass the URL to whatever method you're calling like getImage().
    URL myURL = MyClass.class.getResource("myfile.gif");

  • Is mime encoded mail broken on the iPad?

    I guess the subject says it all...
    One of the mail lists I read sends out a mime encoded digest of the
    daily messages.
    My Mac and Linux boxen can read the rascal ok but the iPad
    shows a list of attachments than the iPad cannot read or load.
    I have goodreader installed but I cannot get it to talk to my exchange
    account.
    If I forward the mail to my gmail account the attachments are just
    html files with no 'payload'.
    So...what is the word on mime encoded mail on the iPad?
    Jerry

    Tom Gewecke wrote:
    So...what is the word on mime encoded mail on the iPad?
    You probably know as much as anyone at this point. I suggest you report all the details of your experience to Apple so they can take any action required:
    http://www.apple.com/feedback/ipad.html
    I did just that...
    Jerry

  • "This is a MIME encoded message ..." within the email message

    Hi there,
    Basically I am getting a "This is a “MIME encoded message ..." at the beginning of email messages.
    When I send a website form via email I get “This is a “MIME encoded message … Content-Type: text/plain; charset=ISO-8859-1″ attached to the beginning of the body of the email. This only happens when you send from the GoDaddy hosted website and only to an Apple @me.com or @icloud.com email address. This does not happen when you send the same form from a different website server or to another email address such as @cox.net. This is a plain text email created by Form Processor Pro thru the website. Also checking with GoDaddy.
    Just wondering if this is happening to others and if there is anything I can do to get rid of that mime message?
    Thanks.
    GRN

    My take on that is server reacts on some type of PHP encoding in mail form. (pardon me for possible language mishaps, I am not programmer). I would try and see if possibly using another browser would make it more acceptable for mail server, you could try Google Chrome (if I understood correctly you filling those forms in web interface, aren't you?) instead of Safari.

  • Physical Filename Issue ( got past this ) and New Invalid Guideline Issue

    I had a problem ( from before ) getting a file called --> test_oracle.edi into the system. I am using a set up of EDI X12 over Generic Exchange together with FILE 1.0 protocol.
    The file has a sender of ACME and a receiver of GLOBALCHIPS, which to be parsed correctly from the b2b.log file; however, the system had problems finding the TPA, since at this point, its FROM PARTY was set to "test".
    I renamed the file from above to --> ACME_oracle.edi, and I now got past this issue, but now have a new --> invalid guideline problem, as seen in the b2b.log file.
    Note that a filename of --> ACME.edi also fails.
    Can someone tell me if there is a restriction on filenames and secondly can someone help me out on this --> "invalid guideline" issue.
    I have emailed SANKAR my EDI file together with the b2b.log file.
    I need to get past this stage, and into SOA.
    Thanks as always.
    Arthur (203-921-5925)

    Arthur,
    Some findings that I can share with you on this-
    When using Generic Protocols like File and FTP you may want to set the following property in tip.properties file
    oracle.tip.adapter.b2b.allTPInOneDirectory - If set to true, it identifies trading partner based on File Name, if false, then identifies trading partners based on FolderName.
    The logic behind it explained well by Ramesh in an old post, probably you could dig-it up on the Forum.
    But its surprising that you are getting an invalid guideline error, ideally it should throw
    "trading partner agreement not found" error. You might also want to look at the this thread - Re: EDI over FTP
    To confirm the issue - please rename your sample file with this naming convention <TPNAME>_<DOCTYPE>_<DOCREVISION>.dat, ideally if this error is because of file naming issue, it should get resolved by using this file naming convention.
    and a technote from Oracle ( B2B_TN_010_Transport_File_FTP_Internal.pdf) is available on OTN, which details out the File naming conventions.
    hope this helps,
    Shailesh

  • FTP sender channel filename issue

    Hi ,
    I have created a sender FTP channel with Filename Smart_*.csv.
    But channel is not picking files from FTP server, even not working for *.csv.
    Although when I have mentioned the complete filename in channel, its picking the file from server.
    Please guide.
    Thanks & Regards,
    Nida

    Hello,
    >>Only * is also not working
    Strange...I was searching SDN and found these two links describing the same issue which u are facing now...You can try to implement Mugdha's reply and see if it works?
    File adapter  (file name)  Wild Card * not  working
    In addition to that, check solution 36 in 821267...
    FTP & Wildcards (File adapter issue) - asterisk not working
    Thanks
    Amit Srivastava

  • Adobe Media Encoder - compression issues (.flv) cs6 vs earlier versions

    Hi all, I hope somebody can help.
    This morning I encoded from a 1080p QuickTime .mov file to a 360p .FLV file.
    I have previously used this work-flow with CS4 and CS5.5 and have had great results.
    When I attempted the same thing this morning, for the first time with CS6 Media Encoder, the .FLVs came out glitchy in places (screen shots 1 & 2 attached).
    Thinking it was a process error, I tried several different methods and all yielded the same results.
    So I returned to CS4, thinking it might be a software issue, and "hey presto" no glitches!
    All updates are present and correct from the Creative Cloud/ Adobe Application Manager, so am I missing something?
    Has anyone else experienced anything similar? Lots more encoding to be done this afternoon and would like to use CS6 ME if at all possible.
    Any help would be massively appreciated.
    Darren
    Message was edited by: djmulryan - amended screen shots

    Hi all, I hope somebody can help.
    This morning I encoded from a 1080p QuickTime .mov file to a 360p .FLV file.
    I have previously used this work-flow with CS4 and CS5.5 and have had great results.
    When I attempted the same thing this morning, for the first time with CS6 Media Encoder, the .FLVs came out glitchy in places (screen shots 1 & 2 attached).
    Thinking it was a process error, I tried several different methods and all yielded the same results.
    So I returned to CS4, thinking it might be a software issue, and "hey presto" no glitches!
    All updates are present and correct from the Creative Cloud/ Adobe Application Manager, so am I missing something?
    Has anyone else experienced anything similar? Lots more encoding to be done this afternoon and would like to use CS6 ME if at all possible.
    Any help would be massively appreciated.
    Darren
    Message was edited by: djmulryan - amended screen shots

  • Adobe Media Encoder Quality Issues  for 4:3 FLV Files

    I am working in a 480x360 window for a FLV file. Whether I export a 60 minute presentation or a 10 second pre-roll FLV file, the rendered file quality is distorted and poor. I have done the same work in CS3, but as I changed computers, the CS4 was installed.
    With the video presentation, orginally capturing the video is set as .9 Pixel Aspect Ration, but interpreting the footage to 1.0 is also an issue.
    The quality of video that is being produced is much worse then CS3 and unuseable in most cases.
    Frame Dimensions: 480x360
    Frame Rate: Same as source. (29.97)
    Endoding: CBR
    Passes: 2
    Bitrate: 500
    Audio: Mono / 48

    A couple things:
    1) VP6 and H.264 are codecs that operate in "mod16". What that means is that they begin by dividing a video image into 16x16 blocks, followed by 8x8, 8x4, and 4x4 blocks. This makes for a more efficient encode. Your 240 dimension is fine (240 / 16 = 15), but the 515 dimension could be slightly problematic (515 / 16 = 32.1875). The codec will stretch or compress the image to fit into that dimension, and so can result in a lower quality encode. If you can, try encoding at 512x240, by cropping a couple pixels in the horizontal dimension. May not make a big difference, but it's good practice with these codecs.
    2) To me, your original encode looks like the product of Adobe's less-that-capable deinterlacing scheme. You're dealing with progressive assets and a progressive target. I'd submit that the reason your 1280x720 encode looks better is that you're using a progressive preset, with no deinterlacing necessary when exporting. One thing you could check is the field order of your original sequence setup--if it's interlaced, I'd say you have your answer. If it's progressive--well, then I'm wrong :) However, you didn't explicitly say this in your original post, but it's worth a look.
    If it is interlaced, I don't think you can change that after the sequence is started, so just create a new sequence with the proper progressive settings, and copy and paste the original sequence contents into that one. Now, when you export, there will be no need for deinterlacing.
    Anyway, that's my guess...

  • Media Encoder CS4 issues with MP4 and M4V files

    I've just got CS4 and and very happy so far. EXCEPT I'm
    trying to convert some MP4 and M4V videos to FLV using the new
    Adobe Media encoder.
    When I look at preview screen in the settings panel, the
    preview is all wrong. It is just Green and Purple - kind of like
    some weird negative image. This also is how the final converted FLV
    looks. The CS3 version of Flash video encoder converted these exact
    same files OK (although the preview was only a blank screen, but
    the final file was OK).
    Has anyone else seen this and more importantly, did you
    manage to solve the issue?
    I'm running this on an iMac G5 with 2GB RAM - could this be a
    PPC issue?

    Sorry my computer AND media encover version. I run Creative Cloud on a new Mac Pro
    File seems to render fine
    Log info:
    - Source File: ***
    - Output File: ***
    - Preset Used: Match Source - High bitrate
    - Video: 1920x1080 (1.0), 25 fps, Progressive, 00:00:42:17
    - Audio: AAC, 320 kbps, 48 kHz, Stereo
    - Bitrate: VBR, 1 pass, Target 10.00 Mbps, Max 12.00 Mbps
    - Encoding Time: 00:13:13
    04/27/2015 03:55:51 PM : File Successfully Encoded
    No errors reported.
    And this is what I end up with.
    Is that helpful?

  • Adobe Media Encoder FLV issue

    I am posting this question here because there is no Adobe Media Encoder forum - sorry! My question is about file sizes. I created some videos in Premiere CS4. I need to convert the videos to FLV formats (they are to be used in an e-learning module that requires FLV files). However, I'm having trouble with the file sizes. At the rate it's going, I will max out our server space in no time.
    To give an example, I have a 17 second video with an original frame size of around 720 x 480. When exported as a MOV file (high quality, etc.) it's about 66MB. I've tried creating the FLV straight from the Premiere project file, as well as separately, by running the MOV through Adobe Media Encoder and the results are just about the same. In either case, I can't get the file size anywhere below 1.8MB, which seems rather large for a web compressed 17 second video. The file size DOES NOT get smaller when rendering at the smaller frame size of about 300 x 220. Back when I used to use Sorenson Squeeze for web compression, changing the frame size like that would usually cut the video file size in half. Media Encoder leaves the file size the same...
    I hadn't worked with video in a little while, so Adobe Media Encoder is new to me... but I asked my husband about this. He's a web developer and deals with video a lot. He said that he would take a MOV file, drop it into Flash Video Encoder and use the preset for FLV and it works great - a video that's this long should only be about a few hundred k in size (it's not a complicated/lots of transition video). Apparently Adobe Media Encoder has replaced Flash Video Encoder, so I don't have the option of trying it the other way... has anyone else run into this, and if so, do you have any tips?
    Thanks so much!

    I'm having a similiar issue, my file orginally is only 10sec long and 13mb *.mpg file, the same as it was when I was converting in CS4, only back then, the convertion took maybe a minute and the output file size was about 1mb or smaller, and that was keeping the 640x480 size and removing audio.  Now with CS5, the estimated output size is anywhere from 2000-3000mb for starts, remove audio and scale back other settings and I can get it down to 70mb and takes a staggering 2.5hrs to complete...for a 10sec video.  I don't know what they changed between cs4 and 5 but they screwed up big time, this is a joke.  i'm on AME ver.  5.5.1.12(64-bit) if that makes any difference.  any idea or help would be greatly appreciated, I've got about 5 of these 10sec vids to convert a month and I need to get this fixed.

  • Adobe Media Encoder Rendering Issues

    Ok so I am using Adobe Media Encoder version 7.2.2.29. I have been having issues with encoder for awhile now. When I go to queue my videos the encoder doesn't render the file correctly either it be like the example below where a simple imported logo into premiere looks completely different or updates I make to a AE dynamic link... These AE dynamic links update in Premiere but when rendered in the encoder it doesn't update. So I have been having to export in Premiere for each video which is wasting a lot of time.
    When exporting I am using different presets to see if that would fix the problem first a Youtube 1080p 23fps preset then a Vimeo preset still same problems. 
    What is going on how can I fix this.
    Thank you,
    Logan

    A higher quality queue doesn't work... match source hit bitrate, pro rez nothing seems to work. Also using a higher quality export doesn't fix the issue of why Adobe dynamic links aren't updating in the encoder...
    Direct export from premiere works but like I said above it is a huge waste of time. I pump out multiple videos a day with multiple re-edits so I need to work while exporting. So while it works it is not a solution that will work for my situation.
    Thank you,
    Logan

  • Content title/filename issues when contributing content from Outlook

    Hi,
    We have a critical issue with content title/file name when contributing content from within MS Outlook (2003) using the Desktop Integration Suite (11g) component.
    Either by copy-paste, or by drag-n-droping of an email item to a Contribution Folder in CS, the filename and content title are displayed as coded characters, instead of the email subject.
    e.g
    If an email item with subject "Oracle Magazine - July/August 2010" is being copied to CS contribution folders, its title should be "Oracle Magazine - July/August 2010" and file name something like "Oracle Magazine - July/August 2010.msg". Instead it gets a name that looks like this "0881FC3B-F733-46D3-869F-AB73F352D25F.msg" and title "0881FC3B-F733-46D3-869F-AB73F352D25F".
    Is there a solution for this, any configuration we are missing here so that we get a readable title and/or filename.
    thanks in advance

    Hi Srinath,
    We are using UCM 10gR3 (10.1.3.5.1). We tried both DIS 10gR3 (build 8.xxx) and 11g (build 9.xxx) with no result.
    And I am not able to find something in the documentation that could lead to a solution.

  • XI File Adapter Custom File Encoding for  issues between SJIS and CP932

    Dear SAP Forum,
    Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
    When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
    1. FULLWIDTH TILDE/EFBD9E                 8160     ~     〜     
    2. PARALLEL TO/E288A5                          8161     ∥     ‖     
    3. FULLWIDTH HYPHEN-MINUS/EFBC8D     817C     -     −     
    4. FULLWIDTH CENT SIGN/EFBFA0             8191     ¢     \u00A2     
    5. FULLWIDTH POUND SIGN/EFBFA1            8192     £     \u00A3     
    6. FULLWIDTH NOT SIGN/EFBFA2              81CA     ¬     \u00AC     
    7. REVERSE SOLIDUS                             815F     \     \u005C
    The following line of code can solve the problem (either in an individual mapping or in a module)
    String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
    But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?

    Dear SAP Forum,
    Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
    When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
    1. FULLWIDTH TILDE/EFBD9E                 8160     ~     〜     
    2. PARALLEL TO/E288A5                          8161     ∥     ‖     
    3. FULLWIDTH HYPHEN-MINUS/EFBC8D     817C     -     −     
    4. FULLWIDTH CENT SIGN/EFBFA0             8191     ¢     \u00A2     
    5. FULLWIDTH POUND SIGN/EFBFA1            8192     £     \u00A3     
    6. FULLWIDTH NOT SIGN/EFBFA2              81CA     ¬     \u00AC     
    7. REVERSE SOLIDUS                             815F     \     \u005C
    The following line of code can solve the problem (either in an individual mapping or in a module)
    String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
    But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?

  • Filename issue when publishing to NAS

    Despite different settings, files are always exported wrong to my NAS (Synology). Original Filename: e.g."2013-08-01-Portraits Angelina-01.dng", exported filename always: "2013-Angelina Portraits-01.jpg". I tried different export modifications of the filename (date-user defined name-counter) or just the original filename- and always ending up with the same export name. I already checked the metadata- in lightroom, everything seems OK to me.
    I didn't have this issue when simply exporting e.g. into a folder on my desktop.
    Any hints?
    Another question: when renaming files, all files are correctly renamed except copies (e.g. when creating mutations from the same original)... I would appreciate them to be renamed in the same order like the originals...

    P.S. May this issue be caused due to a missing underscore, e.g. Portraits_Angelina? And why do I have this problem only on the Synology? Different file name convention..?

Maybe you are looking for