Basic question in File Adapter

H all,
I have an Inbound FileAdapter polling for incoming files in a particular directory , a Routing service and an Outbound file Adapter which writes this file to another directory .
I have checked the Validate payload at Runtime box in the ESB Control.
I was expecting that if I place a file with data which doesnot conform to the input schema of the inbound file adapter, it should throw an error. But I noticed that the inbound file adapter picked up the file from the directory and deleted it from the directory after reading. But I couldnot see the file in the output directory.Neither is it showing any instance in the ESB control.
If I put a file with the contents conforming to the input schema , its working as expected . Also If I donot set any value to the output schema from the tranformation activity, it is showing 'Invalid payload error' in the ESB Control.
Why is it happening like this? Is it the expected behaviour?
Thanks

Yes this catches out a few people. have a look at these notes
http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf
http://web.deu.edu.tr/oracle/B14099_16/integrate.1012/b25307.pdf
they are old but still work today. I couldn't find the upded versions.
by default it writes the messages to the Oracle_Home\integration\orabpel\domains\domain_name\archive\jca\default_directory
cheers
James

Similar Messages

  • Some basic questions on File Adapter

    Hello all,
    I have some basic questions on XI and File Adapter and hope you can help me. Any answer is appreciated.
    1. Can I use NFS transport protocol to poll a file from a machine in the network, which is not the XI? Or do I have to use FTP instead?
    2. If I understand it correctly - when using the FTP-File Adapter, XI has the role of a ftp client. I have to run a ftp server on my distant machine. XI connects to FTP-Server and polls the file.
    Can it also be configured the other way round? The scenario I think of would be: FTP client installed on distant machine, which connects to FTP-Server(XI) and loads up a file. So XI would act as FTP Server.
    I know this works, if I install a ftp Server on the computer my XI runs on, and use the NFS-File Adapter to observe the folder. But I want to know, if I need a second, independant ftp server for this.
    3. And last but not least: When do I need the active ftp mode instead of passive?
    Thanx a lot for your answers!
    Ilona

    > Hello all,
    > I have some basic questions on XI and File Adapter
    > and hope you can help me. Any answer is appreciated.
    >
    >
    > 1. Can I use NFS transport protocol to poll a file
    > from a machine in the network, which is not the XI?
    <b>yes</b>
    > Or do I have to use FTP instead?
    >
    <b>also you can do it</b>
    > 2. If I understand it correctly - when using the
    > FTP-File Adapter, XI has the role of a ftp client. I
    > have to run a ftp server on my distant machine. XI
    > connects to FTP-Server and polls the file.
    > Can it also be configured the other way round? The
    > scenario I think of would be: FTP client installed on
    > distant machine, which connects to FTP-Server(XI) and
    > loads up a file. So XI would act as FTP Server.
    > I know this works, if I install a ftp Server on the
    > computer my XI runs on, and use the NFS-File Adapter
    > to observe the folder. But I want to know, if I need
    > a second, independant ftp server for this.
    >
    <b>XI cannot act as FTP server, but it is always a client. When XI is reading (File sender adpater) when XIis writing than it is File Receiver adapter</b>
    > 3. And last but not least: When do I need the active
    > ftp mode instead of passive?
    >
    <b>It depends on your firewall configuration. The best and the fastests is active mode but not always available.</b>
    > Thanx a lot for your answers!
    > Ilona

  • Very basic design question of File Adapter

    Hi Guys,
    What is the utility of assigning System Name and System Interface names (XMB.SenderInterfaceNamespace, XMB.SenderInterfaceName, XMB.SenderBusinessName) while configuring the Inbound File Adapter?
    What I am struggling to understand, that any particular inbound file adapter is already associated with one particular Sender Agreement and the message header picks up Sender System Name and Sender Interface name etc from this  Sender Agreement (from CPA Cache), but then why the above settings are required for File Adapter ?
    Thanks

    I think you have read the documentation for J2SE adapter.
    The online help for the J2EE adapter is here:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

  • A basic questions on file paths

    hi everyone, just trying to get back into the revamping our workplace website, stripping out the old flash based site and implementing a nice smooth css controlled site.
    i've gone through the creating your first website tutorial by David Prowse and found it to be very informative but still leaves me with a number of questions. Is there an actual thread present to ask questions based on the materials presented in the 6part tutorials?
    a simple question on file paths:
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    which one is better (foolproof) for uploading to a webspace and which format should be used for all filepath declarations (css, js, scripts etc)?
    Btw, what is the difference between
    styles/main.css
    /styles/main.css
    ./styles/main.css
    ../styles/main.css ?
    thanks for any help

    westwm wrote:
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    which one is better (foolproof) for uploading to a webspace and which format should be used for all filepath declarations (css, js, scripts etc)?
    Btw, what is the difference between
    styles/main.css
    /styles/main.css
    ./styles/main.css
    ../styles/main.css ?
    thanks for any help
    Let me be the first to start here:
    1)
    is. <link href="./styles/main.css" the same as
        <link href="styles/main.css" ?
    No it is not the same.  The first goes to the root folder and looks for styles folder and then main.css file;  The second simply looks for the styles folder in the same folder as the html page in which this is defined.  so this is at the same level as the document.
    Which one is better?  It depends on your site definition and the best thing is to let DW decide how to link the file.  Dw is pretty good at getting things right such as this one.
    Is there an actual thread present to ask questions based on the materials presented in the 6part tutorials?
    I thought David's articles had a space below it to make comments and/or ask questions but I have not been spending time on DW forums recently because I have noticed that most answers here have duplicates or triplicates for most questions stating more or less the same thing so there isn't anything new here.
    I think I have covered almost everything asked in your question.
    Hope this help.

  • New Bee, Help File Adapter

    Hi ,
       I am new to XI , I have a basic question on file adapter.
        I have configured a file adapter to pick a file with name abc.txt and delete it. Assumes my total scenario takes 30 min to complete. If i get another file in the source folder after 5 min. Does XI process the second file also parallel. Or does it finish first file and then process the second file?
    Regards
    Monika Dietz

    Hi,
    >>>>Or does it finish first file and then process the second file?
    the file adapter will pick the file as soon as possible
    from the folder but you can set quality of service
    EOIO so it will wait until the first one will finish
    (and other parameters in the integration eigine
    so your flow will be processed by one queue only)
    but basically it will be processed in paralel
    (with standard config)
    reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards,
    michal

  • File Adapter - special character in Filename

    Hi,
    i have a question concerning file adapter.
    Scenario: we are polling files via file sender adapter (FTP).
    Problem: if the filename contains a special character, an error is thrown with 'The System cannot find the file specified'
    Scope: Special character in filename (not in payload)
    Installed: XI 3.0 SP 19 on Linux
    Questions:
    - what FTP implementation does XI use?
    - What do i have to check/upgrade to unicode?
    - is it an OS problem or an Java problem or a XI problem?
    - or is it not possible copiing files with special characters in filename?
    Thank you very much in advance.
    Michael

    Hi Michael,
    The file/FTP adapter supports both passive and active FTP data connection. You can select the data connection while configuring the adapter.
    The file/FTP adapter follows specification RFC 959. The specification can be found on the Internet under  www.ietf.org/rfc/rfc0959.txt.
    For FAQs about the file/FTP adapter, see SAP Note 821267. Please note that you'll need an account to log in on service.sap.com.
    Question: How are you specifiying the file name? i.e. Are you using placeholders, like ?, *, *.txt, etc ?
    If there's a problem with the filenames, then it should be a problem in the JAVA implementation of the adapter I assume. So you could for instance build your own adapter extension to by-pass that problem.
    Just for your information; I haven't encounter a problem with filenames in other projects.
    Good luck!

  • Sender file adapter conversion Error!!

    Hello every one....
    I am stuck with a problem...in my scenario,, there are possiblities that file may contain more than required paramters... in such case,,, paramters defined in conversion should go ahead and others should be ignored...
    for this very purpose i added the paramter:
    row.fieldSeparator                 ,
    row.fieldNames                     orderno,authcode,status
    row.endSeparator                  'nl'
    row.additionalLastFields      ignore
    the scenario works fine if the file contains thrree comma separated values but it raises an error if no of paramters increase as :
    Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting
    document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration: more
    elements in file csv structure than field names specified!
    we are using PI 7.... does it require some more configuration in additoin to paramter row.additionalLastFields
    any help in this regard would be highly appreciated...
    thanx

    this parameter is already set, and this is the exact behavior i want from adapter engine...  but the problem
    here is different... the exception is raised at communication channel's conversion routine level,,, the retry
    interval is not the one defined in visual admin but infact the interval (polling) time defined in communication
    channel.... the system does'nt stop after 3 attempts,, but infact keep on trying to read it....
    one peice of information i  have found is in sap note:821267 , which states:
    *Q35:*
    Q: I have configured a File Sender channel with File Content
    Conversion or a custom-developed module, which may throw an
    exception. When the File Adapter encounters an invalid file, which
    triggers a conversion error or an exception in a module, the
    adapter will enter a retry interval and upon each following
    processing attempt try to process the faulty file. This basically
    prevents the File Adapter from picking up files that are located
    after the fauilty file according to the configured sort order. How
    can I change this behavior?
    o A: This is by design. When the File Adapter encounters an invalid
    file, manually remove this file from the configured source
    directory. You can configure an alerting rule to get notified each
    time this occurs.
    We are currently evaluating possible solutions that could be used
    to skip this manual interaction.
    now can there be a way around to make communication channel read the file only 3 times (value defined in adapter engine profile in visual admin)
    I have thaught of writing of module.... but the error is raised even before calling module !!
    any further clue ???

  • Question about file conversion in the sender file adapter

    Hi, all.
    I am trying to get the file adapter to parse a file. The message type is the following:
    JOB
       Msg  0..1
          Transaction  0 ... unbounded
             Data   0 ... 1
                f1 string
                f2 string
    How would you define the recordset name and recordset structure to produce the same structure in the converted xml. I tried:
    recordset name : Msg
    recordset structure : Data, *
    But the transaction is missing. I tried:
    recordset name: Msg
    recordset structure : Transaction, *
    Then the data is missing. Note that the actual data in f1, f2 ... are loaded successfully though.
    Thanks,
    Jonathan.

    Hi, Hareesh
    I agree. But that is how it is defined now by someone else. It is hard to change it as he defines the same structure on the receiving side. I didn't want to change the receiving structure as it touches the proxy code too. So I want to make something short and sweet.
    Basically the data looks like this:
    11,222
    55,666
    The result xml should be something like:
    <JOB>
      <Msg>
         <Transaction>
            <DATA>
               11
               222
            </DATA>
         </Transaction>
         <Transaction>
            <DATA>
              55
              666
            </DATA>
          </Transaction>
      </MSG>
    </JOB>
    I know either the DATA has no meaning and it's giving me a headache ... but that's how it's done and I don't want to rock the boat too much. There are lots of mapping that I have changed otherwise.
    Thanks,
    Jonathan.

  • File Adapter Acknowledgement in BPM - NEW Question

    This is in cntinuation of my earlier question:
    File Adapter Acknowledgement in BPM
    Now I understand that the send step should wait to get the acknowledgement from file adapter.
    As I understand This ack may be +ve or -ve.
    <b>So my question is how do we test for + ve acknowledgement in the next step / switch?</b>
    Thanks,
    HImadri

    hi,
    in condition editor of this switch step you need to choose technical objects
    and check it they = true
    for sender apps
    you can also use Main/MessageClass field 
    have a look at the bottom of this page to
    check their values:
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File adapter questions (beginner)

    Hi everyone,
    I two questions on two topics about file adapter.
    1. I have set up a File adapter for a CSV file to be the input file of my process. Now I would like to have an XML file as the input file, but the content is always ignored.
    here is the XSD :
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Employees" xmlns="urn:Employees">
    <xs:element name="Employee" type="EmployeeType"/>
    <xs:simpleType name="InitialType">
    <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AgeType">
    <xs:restriction base="xs:integer">
    <xs:minInclusive value="18"/>
    <xs:maxInclusive value="50"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="EmployeeType">
    <xs:sequence>
    <xs:element name="EmployeeID" type="xs:string"/>
    <xs:element name="FirstName" type="xs:string"/>
    <xs:element name="MiddleInitial" type="InitialType"/>
    <xs:element name="LastName" type="xs:string"/>
    <xs:element name="age" type="AgeType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    And now the sample XML file :
    <?xml version="1.0" standalone="yes"?>
    <Employees>
    <Employee>
    <EmployeeID>1</EmployeeID>
    <FirstName>John</FirstName>
    <MiddleInitial>N</MiddleInitial>
    <LastName>Smith</LastName>
    <age>24</age>
    </Employee>
    <Employees>
    How can I do that ? Do I need the Oracle XML Gateway ?
    2. In the BPEL console, I can trace the successfull processes. Alright ... But when I put in a file with the wrong format (eg: missing fields), the process does not even appear in the console. How can I trace them ? (completionPersistPolicy is "on").
    Thank you :)

    I'm interested in 2 question (missing fields) too.
    Ema

  • Color Balance File Output - A Basic Question

    Hello,
    A basic question: if I want to bring uncorrected QT files into Color for auto balancing, do I have to bring the rendered files into FCP in order to finish the files as self contained QT files? Is there a way in Color to output the new files, bypassing FCP?
    If I can do this, what is a recommended workflow for automating this process: bringing hundreds of clips into Color, batch auto balancing the files, and outputting the corrected files to a watch folder?
    Thanks!

    Stuart Baker2 wrote:
    If I can do this, what is a recommended workflow for automating this process: bringing hundreds of clips into Color, batch auto balancing the files, and outputting the corrected files to a watch folder?
    Have you actually tried the Auto Balancing feature? There was a recent thread on it you might want to dig up.
    I doubt it'll work the way you want and is more likely to make a shot worse than improve it.
    AFAIK, it's not something that's scriptable. Go Help > User Manual for how to import shots bypassing FCP. It's covered extensively and clearly.
    HTH.
    - pi

  • Basic question, how to create rtf template with a given xml file

    Hello guys
    I am new to BI publisher and I am learning how to create rtf templates using given xml fiel definitions by following the bi publisher guide
    The steps I am following is:
    1, create template using template builders, which is downloaded into MS words.
    2, In the empty template, map the xml columns with template field using BI publisher tag
    3, upload the template to BI Publisher as a layout.
    That's all I can understand.
    My question is:
    1,in which above step do I import XML file into template builder (if not bi publisher), how to do so?
    2,After template is created, how to associate this template layout with existing reports in BI Publisher, or is it necessary at all?
    3,In the template content in MS Word template builder, what should I enter other than BI publisher tags for mapping XML field to desired template field
    Or, if my understand of this process is entirely wrong, what's the right process of creating rtf template with a given XML file definition
    Thanks

    If you have a BI Publisher desktop installed, have a look a the demos,.. should answer most of your basic questions.
    (Windows) Start->Programs->Oracle BI Publisher Desktop->Demos
    Invoice Demo - good one for those with E-Business Suite
    Report Demo - Sample using BI Publisher

  • File Adapter Questions

    [Edwin moving internal questions to OTN]:
    I'm looking for answers on some BPEL questions I have.
    * Is it possible to iterate over an array in an assign element? How?
    * Where can I find a description of the JCA binding parameters when using the JCA Files adapter (oracle.tip.adapter.file.outbound.FileInteractionSpec)
    * When I modify the FileNamingConvention parameter of the JCA binding for the file adapter, it seems that I need to restart the whole BPEL PM in order for these chenges to take effect? Is this the only way?
    * The format of the %TIME% substitution parameter in the FileNamingConvention only contains the date, no time. Can this format be modified somehow?
    * Can the %TIME% substitution parameter in the FileNamingConvention be combined with the %SEQ%? It doesn't seem so.

    Hi Peter,
    When I modify the FileNamingConvention parameter of >>> the JCA binding for the file adapter, it seems that I >>> need to restart the whole BPEL PM in order for these >>> chenges to take effect? Is this the only way?When you modify the JCA binding parameters, all you need to do is re-deploy the process in question. You shouldn't need to restart the server since hot process deploy is supported.
    The format of the %TIME% substitution parameter in >>> the FileNamingConvention only contains the date, no >>> time. Can this format be modified somehow?We're already aware of this issue and have logged it as a bug. We'll try to make this more granular than a day, e.g. second.
    Can the %TIME% substitution parameter in the
    FileNamingConvention be combined with the %SEQ%? It
    doesn't seem so.No, these two substitution parameters cannot be combined and we haven't encountered this requirement. I assume you'd want this because the previous issue would mandate a SEQ to make multiple files written on the same day uniquely named. Would you still have use-cases for combining these two substitution parameters if TIME were made more granular?
    Where can I find a description of the JCA binding
    parameters when using the JCA Files adapter
    (oracle.tip.adapter.file.outbound.FileInteractionSpec)This will be coming out in documentation with the release. If you have specific questions or would need info on some particular things, e.g. some InteractionSpec params, we'd be happy to send it to you.
    thanks,
    Navneet

  • Very basic question... can photoshop overwrite the original file?

    Very basic question... can Photoshop Elements 13 overwrite the original file?

    You will need to check the Photoshop Elements for any particulars about that software.
    For Photoshop, if I make changes and exit saving those changes, yes the original is overwritten.
    Keep backups at all times and don't work off flash external drives. When people tell me their original 500 layer file got corrupted, and they didn't keep copies, I hate to tell them their weeks of work is down the bucket.
    In Photoshop, we use Image > Duplicate to work on a copy if we don't want the original touched, or File > Save as... where we give the file a different name. We save image.psd as image1.psd and image.psd is closed. We then have a copy, "Image1" opened.
    Gene

  • Basic question about importing wma files

    Hi, I have a basic question about importing wma files. I ripped some cd's on a Mindows computer using Media Player, but now want to copy them to my Mac and use them in iTunes on my Mac. when I use Import in iTunes, nothing happens and I cant even seem to copy them one by one using the Music folder.
    Can someone help me?
    thanks
    eMac   Mac OS X (10.4.4)  

    iTunes for Mac doesn't support .wma files.
    If you can use a PC to convert them, you can use one of many freeware applications. Google for 'wma to mp3'.
    For the Mac there's the shareware program EasyWMA that can convert them.
    Hope this helps.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

Maybe you are looking for

  • How can I return to the last selected item in a dialog box

    In OS 9 using Dreamweaver (for example) when I was adding images to a document, each time I added one the dialog box would return to the last selected image and I could just arrow down to the next in the list, add it (exiting the dialog box) and then

  • " Internal error: 500" during line item configuration

    We are using IPC with some interface customization and copying by reference. During line item configuration I've been getting an Internal error: 500 "Internal error: 500 - The item com.sap.spc.remote.client.object.IPCItemReference@3e902a could not be

  • Form name in SPRO

    I have to see the form name which is used for indent.Where in SPRO, it is present?

  • T shirt design

    Ok So I have this image in illustrator which I quite like. I want to make a t shirt design from it but the t shirt design only allows for 3 colours (4 inclusing the background of the T shirt). I want to preserve how these colours interact. I hope you

  • IPod use in Europe

    Can a US iPod be charged in Europe with the standard Apple charger cord & plug without using a voltage converter?