Multiple payload mapping in zip file..

Hi,
is it possible to map multiple Payloads in one XI Message?
My Source File is a zip (xml files) I unziped it in Sender CC
I have message structure as this in my integration server
XI Message
- payload 1
- payload 2
As there are multiple structure(different structure) in zip file, I can't create Message structure.
I want to map every file in zip seperately and send it to different location.
I used 2 Interface Mapping and also in interface determination try to select the Interface Mapping based on the file name in zip file. But I m getting error Unable to find the Inbound structure at Interface determination.
If I won't give any condition in interface determination. the first payload is getting mapped.
So, is it possible in general to get multi payloads mapped without BPM?
My Questions are:--
+How to create a structure for Input message (All the files in zip have different structure).?+
   +Why am I getting error "Unable to find the Inbound structure" at Interface determination even though I m giving the correct file name for both.+
  +Is it possible using java mapping...? If yes then please throw some light....+
Thanks and best regards
Ankita

hi prateek
  thnaks for urs quick response.
I have different structure at the receiver end also. for every file in zip folder there will be different mapping.
you may unzip the files at a temporary location.
Is there any way I can hold the files(in one zip folder) in PI after unzipping and process ony by one..
Please help.
Thanks
Ankita

Similar Messages

  • Wht does safari combine multiple download into a zip file?

    I downloaded a MKV file from my NAS remotely which worked fine, however when i try to combine multiple files Safari seems to automatically ZIP the files which means I cannot tell how long the download will take or how much data is left to transfer.
    Anyone got any idea how to prevent Safari from putting multiple files into a zip?
    cheers

    I select multiple files from an online storage device, and select download. at this point for some reason when the download begins the files are combined into a zip file. when the download completes i then try to extract the zip file it often fails to extract.
    If I select any one of the selceted files individually, Safari download begins, and the completed download is not in a zip file format and the file is readable.
    I hope this makes sense to someone!
    cheers

  • I receive many e-mails with zipped files.  In the past few weeks I can no longer open them as I used to.  I get a window welcoming me to the Application Loader.  ( What is an Application Loader?)  It says I need my iTunes Connect login, but when I try my

    I receive many e-mails with zipped files.  I can no longer open or unzip my files. A window welcoming me to Application Loader drops down.  It prompts for an iTunes Connect login, but will no accept my iTunes login. I have no way to open or unzip my files. Help!!!!

    Application Loader, unless there's another one I'm not familiar with, is part of the iOS SDK. That have usurped the .zip, or you may have removed that application but your Mac is still holding onto the mapping of Zip files to that application. Select a .zip file in Finder, Get Info, and go to the Open with section. Select Archive Utility and click Change All. That should fix the problem.
    Regards.

  • Process multiple documents in zip file without using ccBPM in PI

    Hi,
    Is it possible for PI to handle multiple documents within a zipped source file without the use of ccBPM?
    For example, I have an incoming source zip file containing 0.pdf, a,xml, z.pdf respectively,  After having the sender communication channel uncompress the zip file, each pdf file should be pushed to a directory on a file server, and the xml file should go through a message mapping.
    Is this possible to process all of the files without the use of ccBPM?
    Regards,
    Jim

    Hi Michal,
    Thank you for your response.  The example I provided is just one potential case.  In general, the zip file will always contain 1 xml file and 0-n PDFs, Word docs, or other types of documents.  Also, the first file in the zip may not always be the xml file, which is what I was trying to portray by my example.  Since I am not sure how many non-xml files will be included, I did not know if I could handle all of them directly, without ccBPM.
    At this point, I am leaning towards using a script preprocessor to uncompress the zip, then for each file found, push the xml file to an NFS channel which will process/map the xml, and push every other file type to another NFS channel to copy these documents to a predetermined directory on a predetermined server.
    What are your thoughts on this approach?
    Thanks and Regards,
    Jim

  • Zipping multiple Payloads to single Zipfile using payLoadZipBean

    Dear Friends,
    Can you help me in doing this sceanrios:
    I'm trying to send multiple payloads from source (selection
    of multiple payloads is done by checking Advance selection for
    Source file)  to PI, that inturn Zip all Payloads in to a single Zip FIle.
    (note: payLoadZipBean is giving individual zip file for every single payload but I want it all in single Zip file)
    And also can I zip, Additional Files sent through File Adapter,
    as these are not considered as payloads. Plz correct me If I'm wrong.
    I request you plz dont paste any links to blogs or forums.
    I'm trying to create a module to perform this scenario,plz suggest me better answers, in case module develpment is not required.
    Dear Stefen, I hope I will get a good answer from you soon.
    And thanks for suggesting me to post a thread for this issue.
    Thanks in advance
    Praveen K Kurni

    Dear Sameer,
    I did studied the SAP note;
    By using these parameters
    Module Key: zip
    Parameter name: zip.mode
    Parameter value: zipAll
    Module Key: zip
    Parameter name: zip.filenameKey
    Parameter value: contentType
    Module zips all payloads as individual zipfiles
    for ex:
    my files are:
    1. abc1.xml
    2. abc2.xml
    3. abc3.xml
    module payLoadZipBean zips these payloads as
    1. abc1.zip
    2. abc2.zip
    3. abc3.zip
    But I want all the files to be zipped in to single zipped file:
    let say abc_all.zip
    Thanks any way
    Praveen K Kurni

  • Creating zipped file which contain multiple files

    hi all,
    i have a problem which i would like some advice about:
    i need to recieve from a FTP server multiple files and then zip them all in one big zip file.
    now i checked the forums and all i found is using PayloadZipBean which in all the examples create a zip file with one .txt in it.
    is it possible to create multiple files in the zip using this module?
    another problem if the one big zip file is what if each of the files inside the zip file has it's own mapping...
    i think a BPM is a must here and a parallel one also with a correlation...
    i would like if it's possible to do something different as the correlation between the files is a bit complicated?
    regards and thanks a lot,
    Roi Grosfeld

    First,
    I would like to understand your requirement. Is it to only download and zip the files in to one file? XI is not the solution. A OS level script or some C program is what I would use for that which calls some FTP APIs.
    If you requirement is to get different files with different format but want to send them to one desintation which accepts files in only one format, I would not consider zipping them into one file and again unzipping then and executing a mapping XI. Instead, I would have different file adapter for each type of the file and use as many sender agreements with diffrent mappings.
    Hope it made some sense..!!
    VJ

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • How can i create a zip-file with multiple volumes

    Hi,
    i've to zip a large file (250 MB and more). But the zip file shouldn't be greater than 5 MB, because i have to send the file via E-Mail. So i've thought, that the solution of this problem can be to zip the large file in smaller zip-files, which are multiple volumes of a zip-archive. I've searched very long in WWW, but didn't find something. Perhaps you can help.
    Sorry, about the bad english. :-)
    Timo Bunger

    Hi
    Who said your english is bad ?. OK, are you looking for compressing the 250 MB file in to multiple versions using a java program ?. If not, there is a shareware you can download and split the file into multiple parts by specifying size of each part. You can send these parts via email and the other person can combine these parts into a single file again.
    Find this @
    http://www.freedownloadscenter.com/Utilities/File_Splitting_Utilities/EzSplit.html
    You may need to read a bit about it on how to use.
    Thanks
    Srinivas

  • One Orchestration for Multiple ZIP file FTP Solution.

    Problem:
    Zip files are being generated from multiple locations on my network. I do not need to see any information in the Zip files. My goal is to pick up the files and transfer them to various external FTP servers.
    Solution:
    BizTalk picks up the zip file using a pass-through(file) receive port. I created an orchestration because I would like to send email based on failure/success. Inside the orchestration I am using the receive port information to assign the destination party.
    The send port then filters based on destination party and sends to external FTP server.
    This gives me the ability to have 1 orchestration for multiple transfers. I wanted it to be as generic as possible. 
    1 Orchestration - 10+ Receive Locations - 8+ External FTP Sites.
    Question:
    Has anyone done this before? What should I watch out for? Do I have a good solution to my problem?

    Yes ,
    This is totally a valid business scenario were you have multiple publisher of the message and there are different subscriber( FTP sites ) for your processed message .
    You can have multiple receive location inside the same receive port and also multiple send port for different message subscription .
    So ,Its all good from your side :)
    Thanks|
    Abhishek

  • Messages with zip files or multiple attachments are not being delivered

    Has anyone else come across this? I've discovered that files sent from my .mac account are not being delivered if they contain zip files or multiple attachment. A single .docx file goes through, but multiple doc files or a single zip file do not.
    I get no error message, and neither does the recipient. The message sends on my end but simply doesn't show up on their end.
    Any thoughts on what might be causing this?

    Another follow-up: Now, for whatever reason, even attachments of a single document aren't going through.
    Again, I'm receiving no error message, and it shows up in my sent folder. It just never makes it to the recipient.
    This is very frustrating, and makes my iCloud mail account all but useless. Does anyone have any idea at all what might be happening?

  • Zip'ing files from multiple folders to the same zip file

    Could somebody recommend a method to create a zip file with file contents from multiple folders? Or is there an application I can drag and drop a bunch of files to zip em?

    First highlight all of the folders or files. If they're not right next to each other, or on the same drives, hold down the Command key while clicking to choose the next without losing previous choices.
    Once they're all highlighted, right click on any highlighted item and choose "Compress xxx Items".

  • ZIP files in Payload

    Hi,
    I receive email with ZIP Files as attachements. I have to save this attachements on my server. The mail sender adapter (Typ Mail) work good. Into the outgoing XI message Payload the data have been stored correctly.
    The Problem is that my Receiver File Adapter write the content of the Payload on the server but the ZIP file is empty.
    Could somebody give me informations about the file adapter Configuration to solve my Problem. I already use the PayloadSwapBean Module configuration.
    I need for this configuration more information.
    Thank you
    MAt

    1. Re: Mail Adapter ZIP File Attachment
    2. Re: Zip file attachment
    3. Re: XI File Adapter sending/receiving zip files
    4. Process Integration (PI) & SOA Middleware
    I am not sure if you went through these threads.If not they might help you.

  • ZIP File has damaged contents - Multiple file download

    Hi,
    I am using ZIP API in Web Dynpro JAVA for multiple file download scenario.
    Issue:--->
    Some files are not opening correctly after unzipping the ZIP file.
    Example-1: some PDF files gives out message that " "
    Example-2: Also, a JPG file shows only upper half of the image.
    So in all, the content of generated ZIP file are damaged.
    Any idea why this is happening?
    Thanks & regards,
    Amey

    And this is the code I'm using:-
    Unzipped PDF files give this error --> There was an error opening this document. The file is damaged and could not be repaired
    for(int i = 0; i < l_int_NodeSize; i++){
         g_SearchOutputEle = g_SearchOutputNode.getCtx_vn_SearchOutputElementAt(i);
         java.net.URL url = new URL(g_SearchOutputEle.getFileUrl());
         java.net.URLConnection urlConnection = url.openConnection();
         java.io.InputStream inputStream = url.openStream();
         int arraySize = urlConnection.getContentLength();
         byte[] byteArray = new byte[arraySize];
         DataInputStream dis = new DataInputStream(inputStream);
         dis.read(byteArray);
         ZipEntry zipEntry = new ZipEntry("Name-"+i);
         zipEntry.setSize(byteArray.length);
         zos.putNextEntry(zipEntry);
         zos.write(byteArray);
         zos.closeEntry();
    zos.close();
    byte[] byteOutArray = baos.toByteArray();
    IWDResource resource = WDResourceFactory.createResource(byteOutArray, "Downloads.zip",WDWebResourceType.UNKNOWN);
    String urlString = resource.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal());
    IWDWindow win_MultiFileWindow = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlString);
    win_MultiFileWindow.setWindowSize(0,0);
    win_MultiFileWindow.show();
    Edited by: Amey Mogare on Mar 30, 2010 7:49 AM

  • Multiple Toplink Mapping files

    Hi All,
    I have 8 modules in my project, I would like to maintain separate toplink mapping file and persistence-config.xml file for each module.
    Ex: in struts we can have separate struts-config.xml file for each module like  struts-admin-config.xml, struts-moderator-config.xml, struts-dashboard-config.xml files and we will configure those information in web.xml file for Actionservlet input params.
    Is it possible to have multiple toplink mapping files and persistence configuration files for each module in a project.
    Thanks & Regards,
    B.V.Suresh Babu.

    Thanks a lot for your direction!
    I am using xtreme framework alongwith Toplink. I use codegen tool to generate extreme BOM (business object model) classes. I an unable to introduce my logic as you suggested to use Direct Mapping.
    I am not able to find more details and/or complete example to use any of your suggested approach. Please do send me any stuff you can send for the same.
    Regards,
    Raghav

  • Pull a zip file with multiple files unzip it, and finally load one of the f

    Hi Aill,
    I have following query.
    Could we do the following with XI: pull a zip file with multiple files from a vendor which resides outside of XI server network, unzip it, and finally load one of the files to SAP?
    Regards
    Rohan S

    Hi Varadharajan,
    I have 10 text files in some ZIP file on one server which is out side of network. We can reach that file through Proxy only to read ZIP file.
    I need to extract the file and on the bases of some condition one of the file i need to upload data to SAP.
    Is it possible. If possible then How?
    Regards

Maybe you are looking for

  • How do I change the output the loops come out of?

    My tracks are set for outputs 3-4 and they are coming out fine through my audio interface, but I can't sample the loops unless I disconnect my interface or drag them onto a track. Can I change the loop output to 3-4? It used to work fine.

  • Sharing socket object between threads - Is any sync required?

    For example, a thread receives (listens) datagram packets at incoming socket and forwards them downstream through another datagram socket. Another thread listens packets at this second socket and forwards the data via the first socket. It is possible

  • JAXB parsing doesn't create set properties.

    Using ant and JAXB - when the package is compiled with dtd and the elements are set to minOccurs="0" maxOccurs="unbounded", no set method is produced. If the minOccurs="0" maxOccurs="unbounded" is removed set methods are available, although then the

  • Need Help: Pics not linking with edits

    Hope I can be clear here... I changed the top folder - deleted it. Mistake on my part, learned my lesson. This made the corresponding pix in LR go red - LR can't find where the original files are. My LR edits are still there though if you click on "d

  • Zumocast gives error on Arch Linux x86_64

    I found a RPM package of Zumocast here -> http://orion.lcg.ufrj.br/RPMS/myrpms/zumocast/ I tried to make make a PKGBUILD. Here is the PKGBUILD: pkgname=zumocast pkgver=1.3 pkgrel=1 pkgdesc="Access all your files and media from your computer" arch=('x