How can I convert the binary file content to XML message

Dear friends,
I poll the binary file from a ftp server but the payload only includes the binary content, no XML structure in the payload, I hope to convert the binary content to a element node within the XML structure, how can I do that? via content conversion?
Thanks and regards,
Bean

Read the binary file stream using java I/O standard functions and convert the read stream to Base64 format. Now map this content to one of the field in target XML structure.
You need a java mapping for this.
what is your target system?
Thanks,
Gujjeti.
Hi Gujjeti,
Thanks a lot for your kind help, my target system is R/3.
Can I achieve that with a UDF or a simple way?
Regards,
Bean

Similar Messages

  • How can i restrict the selecting file type to XML and TXT in file upload..

    Hi,
    I am using Struts Upload Bean. I am also using html:file tag in the JSP. Now when i click on the browse button, A file dialogue window appears. The problem id the i want to show only text and xml files in the dialog box. Now the files of type combo box in the dialogue box is showing *.*, *.html, *.pictures (jpg/gif) options. In place of this i need to show only txt and xml files. How can i restrict the file type to XML and TXT
    Regards,
    Sudheesh...

    Hi,
    the demo doesn't keep track of this. If you want then this feature isn't implemented. You will also see that the document is uploaded in a directory without changing the file name (e.g. adding the SR number). This however can be done and would be the way to do it
    Frank

  • How can I convert my specific file content in the Receiver Adapter(XI 7.0)?

    Hi all,
    I have a document structure as below:
    <MT_MATERIAL>
       <MATERIAL>
             <WERKS>1000</WERKS>
             <MATNR>HAD_00001</MATNR>
             <MAKTX>CHEMICAL MATERIAL</MAKTX>
       </MATERIAL>
    </MT_MATERIAL>
    This document structure is the file content in the Receiver Adapter (File Adapter). In the 'Content Conversion' tab of File Adapter of Communication Channel 'CC_OUT_MATERIAL_FILE', I have configured the parameters as below:
    Recordset Structure: MATERIAL
    MT_MATERIAL.fieldSeparator: '
    MT_MATERIAL.endSeparator: 'nl'
    MATERIAL.fieldSeparator: '
    MATERIAL.endSeparator: 'nl'
    *.fieldSeparator: ,
    But, this Communication Channel 'CC_OUT_MATERIAL_FILE' (in the Runtime WorkBench/Component Monitoring/Adapter Engine/Communication Channel Monitoring) is error with the error message as below:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    Could anyone please help me to correct this error, how should i configure the parameters in the 'Content Conversion' tab?
    Thanks a lot in advance,
    Vinh Vo

    Hi Vinho,
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    Have a look at the this blog by Arpit Seth ... its all about FCC at receiver side...
    File Receiver with Content Conversion
    Also have a look at this thread.. might be helps you....
    RECEIVER file CONTENT CONVERSION
    Above links be helpful.
    Regards,
    Jayasimha Jangam

  • How can I convert the projects files (*.prel) to a AVI or WMV format? Is that possible?

    I'm actually using Adobe Premiere Elements 10.

    rayssasouza
    There is no "Publish+Share" in Premiere Elements 10. Publish+Share/ is the Premiere Elements 11 and 12 counterpart of Premiere Elements 10's Share/.
    If you have established your Premiere Elements 10 (assumed Windows 7, 8, or 8.1 64 bit) Timeline, you can export that to an .avi file and .wmv file and many other formats from the Share area. Remember, .avi and .wmv are just file extensions that wrap the video and audio compression, so, when deciding on export choices, good to keep in mind all the properties that you seek for your export. All that being said...
    General idea....
    For avi file...
    Share
    Computer
    AVI
    and then you set for the appropriate Presets.=
    For .wmv file
    Share
    Computer
    Windows Media
    and then you set for the appropriate Presets =
    I suspect what generated your question was that you are not seeing the AVI and Windows Media choices under Share/Computer/.
    If that is so, you need to use the thin scroll bar to the right of the choices and scroll down to AVI and Windows Media to see them
    and others toward the bottom of the list there.
    Please review and consider. Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • I have a 2 page PDF (portrait format), how can I convert the format to landscape?

    I have a 2 page (portaait format) PDF file how can I convert the PDF file into landscape format before I change it to XL?

    Hi jsremick,
    To change the page orientation of a PDF, you need to use Acrobat. (Reader allows you to rotate the page view, but not the pages  themselves).
    If you don't have Acrobat, feel free to give it a try. You can download the free 30-day trial from http://www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • I have converted a pdf to word. How can I access the Word file from my online account?

    I have converted a pdf to word. How can I access the Word file from my online account? When it says 'download the converted file' I choose a location on my PC and click, but nothing happens. It seems that it can only save the converted file to my online account. I went to my online account but I see no way to look for the file

    Hey Fabrizio,
    You might need to sign up at "https://cloud.acrobat.com/exportpdf" using your Adobe ID credentials to convert your PDF file to Word.
    Do you get the 'download' prompt?
    Also, you can find the converted files by clicking at the 'Files' tab. 
    Please try the same using a different browser and check.
    Hope to hear from you.
    Regards,
    Anubha

  • How can I convert the ringtone (m4r file) I made into an mp3 file on itunes?

    How can I convert the ringtone (m4r file) that I made into an mp3 file on iTunes? I want to put it on a CD, but I can't figure out how to convert it. I didn't buy it, I made it by converting a YouTube video into an mp3 (I wanted to get the little song in the video for a ringtone.) I'm not sure what to do. 

    Hello ed2345,
    Thanks for the help, but this is not the problem.
    It's hard to describe the problem, but I'll try it again, this time with pictures.
    I was left with the following folders in the iTunes Downloads folder.
    http://www.picfront.org/d/7yb3
    These TMP Folders have a download.m4a and a Info.plist file.
    After moving the audio files in iTunes a bit I get this.
    http://www.picfront.org/d/7yb2
    As you can see no other Information for the download.m4a than the length.
    That's how the .m4p file looks like
    http://www.picfront.org/d/7yb1
    And this is how the same .m4a file currently looks
    http://www.picfront.org/d/7yb0
    Like I said, I could edit all these download.m4a files by myself but that would leave some information out.
    Note: Sorry, I hope the links do not spam you with annoying ads. I don't get any but I was told that there can be some annoying one.

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • How can I convert the ITHMB photo files to PC readable format like JPEG?

    How can I convert the ITHMB photo files on my new Iphone 4s to a PC readable format like JPEG

    Look at the link and follow instructions to convert the file taken from a different thread in this forum:
    https://discussions.apple.com/thread/2640386?start=0&tstart=0

  • How can I hide the class file ??

    Hi !
    I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. Thinks

    See these....
    http://www.saffeine.com/
    http://www.jarsafe.com/
    I recently read this. This will help you.
    http://developer.java.sun.com/developer/qow/archive/160/index.jsp
    Enojy....
    Rajesh

  • How can I convert a class file to Exe file

    hai
    How can I convert a class file to Exe file

    Please search the forums before asking questions - this has been answered hundreds (really!) of times.

  • HT3775 how can i convert a mod file (on vlc) to mp4 to work on quicktime

    how can i convert a mod file (on vlc) to mp4 to work on quicktime
    when i connected my video camera and imported the videos, they're default is to play on vlc
    they are mod files
    i want to edit the videos on imovie and for that the videos need to be mp4 and open in quicktime player
    what do i do

    iPhone supports
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    If your video is supported, drag it to iTunes and sync it to your iPhone.

  • How can I convert an AiFF File to a Wav file?

    How can I convert an AiFF File to a Wav file?
    Any free software out there? or can iTunes or Quicktime perform this task?
    -D

    or can iTunes or Quicktime perform this task?
    Yes to both.
    In Quicktime Export -> Export Sound to Wave
    In iTunes, check your preferences for General>Import and then right click on the file to convert to WAV
    Also STP can do that.
    Double click the file to open it in the File Editor and Save as, then select Wave as the filetype.

  • How can I convert an .m1v file for my MacBook to be able to play it?

    Hi!
    How can I convert an .m1v file for my MacBook to be able to play it?
    I tried numerous apps from the app store, but they failed
    Thanks!

    Hello:
    Rather than try to buy a box, I suggest you take the computer to a FedEx or UPS store.  They will wrap and safely package the device for a reasonable cost (I have shipped two iMacs this way).
    Barry

  • How can I convert an M4A file to an MP3 version?

    How can I convert an M4A file to an MP3 version?

    Thanks for your reply but that's not my problem.
    I know that I can burn an M4A file to a CD and then import it back as an MP3, but that's an annoying process and wastes blank CDs.  I thought iTunes had a menu choice to convert a selected file to MP3 format.  I guess that's not true with M4A versions. 
    I will simply buy my music from Amazon from now on and I won't have to deal with this file format and protection nonsense.  I can download music from Amazon in MP3 format as the rest of my music is in.

Maybe you are looking for

  • How do you use the 100$ student app discount for the app store?

    I recently bought a new Macbook Pro with the 100$ discount from the student aid pack though it also stated that I would have 100$ in app-money. How do I recieve this money on the app store account?

  • Tables without locks

    Hi I understand that somehow I would have to create locks to avoid table collision when updating tables by several users.  What happens if I don't do that, meaning while one user is writing and updating a table and another is do in the same to the sa

  • Execute Java Code on client

    Hello, how can i execute java code on clientside?

  • Dynamic Groups in LDAP and Calendar

    Folks, I have defined a dynamic group in LDAP. I would like for that group to be invited to an event. When I add an event and search I find the group. When I check the group and click 'OK' it doesn't show the group as invited. When I search again, it

  • Memory Issue? Quantum Wave Installation!

    Hi! Hope I am in the right place. I may be having an issue with my memory not showing the right figures/specs and also I am unable to install the drivers for Quantum Wave thingy. I do have sound. Hope I can address both issues at the same time. If no