File adapter PUT operation with header row.

i have schema generated in the below format.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
            xmlns:tns="http://TargetNamespace.com/InboundService"
            targetNamespace="http://TargetNamespace.com/InboundService"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified"
            nxsd:version="NXSD"
            nxsd:stream="chars"
            nxsd:encoding="US-ASCII"
            nxsd:hasHeader="true"
            nxsd:headerLines="1"
            nxsd:headerLinesTerminatedBy="${eol}"
>
  <xsd:element name="Root-Element">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="Record" minOccurs="1" maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="typdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
              <xsd:element name="datdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
              <xsd:element name="nomdoc" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="~" />
but the above schema do not write the header line in the FTP file.
Each of the element name should work as header row.
Below is the JCA configuration of the FTP
<adapter-config name="Payment_Details_FTP" adapter="FTP Adapter" wsdlLocation="Payment_Details_FTP.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
  <connection-factory location="outbound/ftp/test1"/>
  <endpoint-interaction portType="Put_ptt" operation="Put">
    <interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec">
      <property name="PhysicalDirectory" value="Test"/>
      <property name="FileType" value="ascii"/>
      <property name="Append" value="false"/>
      <property name="FileNamingConvention" value="1C_Extract.out%yyMMddHHmmss%"/>
    </interaction-spec>
  </endpoint-interaction>
</adapter-config>
Please let me know if i'm missing some configuration here.
Regards
sujan

Remove "header" related attributes from the "schema" tag.
===================================
nxsd:hasHeader="true"
            nxsd:headerLines="1"
            nxsd:headerLinesTerminatedBy="${eol}"
===================================
And then, define another element like "Record" to read the header data.
http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/nfb.htm#CHDBECJI

Similar Messages

  • FTP adapter: put operation on root folder is failing

    Hi All,
    I am trying to put files on SFTP server through FTP adapter.
    If i select PhysicalDirectory as something like '/output' - put operation is working.
    But if i use PhysicalDirectory as '/' - put operation is not working. I am getting error saying "/" is invalid directory. Can you please help me? Thanks!
    I can put the files over the "/" using sftp client, so looks like i have required permissions.
    Thanks,
    Kathar

    Check whether the ftp user is defined with '/' folder or different. I think that particular user's home folder is defined as /output.
    Thanks,
    Vijay

  • Problem in Sender File Adapter using FCC with Variable structure

    Hi Experts,
    Hi Experts,
    I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
    Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
    Recordset per message == *
    Key Field Name == Key
    (Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
    HEADER.fieldSeparator           ,
    HEADER.endSeparator           u2018nlu2019
    HEADER.fieldNames               Key,x,y,zu2026
    HEADER.keyFieldValue          1
    HEADER.keyFieldInStructure      ignore
    HEADER.fieldContentFormatting     trim
    HEADER.additionalLastFields     ignore
    HEADER.missingLastFields     ignore
    DATA.fieldSeparator
    DATA.endSeparator
    DATA.fieldNames
    DATA.keyFieldValue
    DATA.keyFieldInStructure
    DATA.fieldContentFormatting
    DATA.additionalLastFields
    DATA.missingLastFields
    Using same variables for Trailer record as well.
    Source CSV file which i am picking:-
    ADSE ,RASD,replan  Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,  S Top Up ,20080401  ,20080430  ,sdf  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,  r Cash Award ,20070701  ,20070703  ,ded  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,   Cash Award ,20070801  ,20070831  ,df  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,sf  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    BTRL ,   5140, 
    When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
    However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
    Kindly help me in solving this problem.
    Thanks,
    Aditya Verma

    Hi Madan,
    Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
    ADSE ,ASDA,Sha  replan Fr ont Feed Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,   r Cash Award ,20070701  ,20070703  ,TPV  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,  r Cash Award ,20070801  ,20070831  ,TPV  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,TPV  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    EMPL ,0255555,   Cash Award ,20080301  ,20080320  ,TPV  ,                          00000000027870  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:25,
    EMPL ,0266666,   Cash Award ,20071001  ,20071020  ,TPV  ,                          00000000020681  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0877777,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000036000  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:05,
    EMPL ,0888888,   Leaver Cash Award ,20071201  ,20071231  ,TPV  ,                          00000000157200  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:11:29,
    EMPL ,0899999,  S Leaver Cash Award ,20080301  ,20080331  ,TPV  ,                          00000000153530  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:42,
    EMPL ,0800000,  S Leaver Cash Award ,20070701  ,20070731  ,TPV  ,                          00000000012234  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:34,
    BTRL ,   5140,
    This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
    Thanks a lot,
    Aditya.

  • File Adapter read Operation

    I am using File adapter to read files from the given location.
    With this read operation it picks all the files at time.
    I want to configure File Adapters that it should pick one file at time from the given location with given polling interval.
    Can we do this with file Adapters in BPEL.
    I am using SOA Suite 11g.
    Thanks,
    Arun Jadhav

    Hi, in order to achieve that you need to set the "SingleThreadModel" and "MaxRaiseSize" properties for your file adapter.
    Edit the adapter's jca file and add the following properties:
    <property name="SingleThreadModel" value="true"/>
    <property name="MaxRaiseSize" value="1"/>
    You can set these properties also through jdeveloper, by opening composite.xml, selecting the adapter and then changing the properties through the properties panel.

  • Will B2B Adapter receive operation with default triggers the SOA Composite

    Hi,
    Can any one provide me answers to this questions?
    *1. Will B2B Adapter receive operation having default protocol will trigger SOA Composite? if so how can we achieve it?*
    *2. will Listening channel with JMS protocol do EDI------XML translation? if so what are the configuration that need to be done?*
    *3. Will B2B Adapter receive operation listens messages from other protocols like File ,FTP ? if so what need to be done ?*

    1. Will B2B Adapter receive operation having default protocol will trigger SOA Composite? if so how can we achieve it?Yes, it can trigger SOA composite. First deploy the inbound B2B agreement with no channels selected under Host TP channels dropdown and then deploy your SOA composite which is referring to the deployed doc-def. Run an inbound test and you should be good to go.
    2. will Listening channel with JMS protocol do EDI------XML translation? if so what are the configuration that need to be done?Yes, you may translate native EDI to XML with JMS listening channel as well. Make sure that listening channel is not marked as internal and an inbound EDI agreement is deployed for corresponding EDI doc. Following custom JMS headers must be set so that B2B can identify the partner -
    FROM_PARTY
    TO_PARTY
    3. Will B2B Adapter receive operation listens messages from other protocols like File ,FTP ? if so what need to be done ?No. B2B adapter supports only three modes - JMS/AQ/Default (fabric), however you may use file/ftp adapter to receive files from B2B over file/ftp respectively.
    Regards,
    Anuj

  • ODI Load File error (can't read heading rows)

    Hello!
    I created a file Datastore on ODI 11g from the following delimited file:
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO
    7369,SMITH,CLERK,7902,17-12-80,800,,20
    7499,ALLEN,SALESMAN,7698,20-02-81,1600,300,30
    7521,WARD,SALESMAN,7698,22-02-81,1250,500,30
    7566,JONES,MANAGER,7839,02-04-81,2975,,20
    7654,MARTIN,SALESMAN,7698,28-09-81,1250,1400,30
    7698,BLAKE,MANAGER,7839,01-05-81,2850,,30
    I defined the file format as "delimited", the number of lines (heading) as "1", the record separator as "MS-DOS" and the field separator as ",". I successfully reversed engeniner and I obtained the header columns.
    The problem I have occurs when I try to view the file data using the option "View Data" on the file Datastore. I get the following error message:
    java.sql.SQLException: ODI-40439: Could not read heading rows from file
      at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:164)
      at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
      at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
      at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:135)
      at com.borland.dx.sql.dataset.o.f(Unknown Source)
      at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
      at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
      at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
      at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
      at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:628)
      at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:868)
      at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:176)
      at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
      at java.lang.Thread.run(Thread.java:724)
    Thanks

    It fails with both .txt and .csv
    ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection FILE_GENERIC.
    Caused By: java.sql.SQLException: ODI-40439: Could not read heading rows from file
      at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:164)
      at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
      at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
      at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:135)
      at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:94)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
      at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:724)
    Regards

  • Problem in file-Adapter during polling with u00E4,u00F6 etc.

    Hallo,
    i have the problem described above. Is there any help?
    Thanks,
    Frank

    Hi,
    Please change the File Encoding in the sender file adapter to  <b>ISO-8859-1</b>.
    Please look into this link,.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    --> File Type.
    <i>File Type
    Specify the document data type.
    &#9675;       Binary
    &#9675;       Text
    Under File Encoding, specify a code page.
    The default setting is to use the system code page that is specific to the configuration of the installed operating system. The file content is converted to the UTF-8 code page before it is sent.
    Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:
    &#9632;       US-ASCII
    Seven-bit ASCII, also known as ISO646-US, or Basic Latin block of the Unicode character set
    &#9632;       <b>ISO-8859-1
    ISO character set for Western European languages (Latin Alphabet No. 1), also known as ISO-LATIN-1</b>
    &#9632;       UTF-8
    8-bit Unicode character format
    &#9632;       UTF-16BE
    16-bit Unicode character format, big-endian byte order
    &#9632;       UTF-16LE
    16-bit Unicode character format, little-endian byte order</i>
    Regards
    Bhavesh

  • File Adapter Write Operation inserts a new line at the end

    Hi,
    I am using the write operation in the File Adapter from BPEL Process. The data is written successfully to the file and file is also created in the location specified in the adapter wsdl. But in the file created, it creates a new line at the end of the file. This new line has to be avoided when writing data to a file.
    Has anyone faced this and solved this ?
    I am SOA 10.1.3.4.
    Cheers,
    - AR

    It is a bug in 10g and will be resolved in one of the versions of 11g.
    Cheers,
    -AR

  • File adapter SyncRead Operation adds "???" to first record of csv file

    Hi All,
    One interface is reading one CSV file (containing two fields only) using SyncRead Operation of File Adapter. But I found, when file adapter parsed the data it appends "???" to first field of the first record which cause further data validation in the process.
    Test.csv file
    123456,159357
    147258,987654
    Trace of the FileAdapter:
    <messages>
    <Invoke_FILE_Inbound_InputVariable>
    <part  name="Empty">
    <empty/>  
    </part>
    </Invoke_FILE_Inbound_InputVariable>
    <Invoke_FILE_Inbound_OutputVariable>
    <part  name="body">
    <Root-Element>
    <TestElements>
    <Emplid>���123456</Emplid>  
    <SupId>159357</SupId>
    </TestElements>
    <HRRespIDElements>
    <Emplid>147258</Emplid>  
    <SupId>987654</SupId>
    </TestElements>
    </Root-Element>
    </part>
    </Invoke_FILE_Inbound_OutputVariable>
    </messages>
    Can anyone help me to understand , what is reason? Or I missed anything.
    Thanks & Regards,
    Sharmistha

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • File adapter fixed lenght with justify

    Hi Developers ,
    I'm developing an interface JDBC - File , the file have a special format because is a flat file with fixed length and some of the fields have to a justified to left , it's possible do that with the file content conversion ????,
    the example of the file is :
    lenght fields :3,3,3
    xx , xx,xxx
    xx , xx,xxx
    xx , xx,xxx
    Regards

    Hi,
    Please see the below links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
    Regards
    Chilla...

  • "open recent" from file menu not operating with snow leopard?

    is anyone else having trouble with this?
    did i accidentally disable this option? if so, how do i enable it?
    thanks

    PeterBreis0807 wrote:
    I can understand why they have done this, although agree it is not a good idea.
    Apple has made accessing the applications harder than need be, by nesting them inside the iWork folder. Without the manuals.
    The User Guide says nothing about the need to leave the iWork components in the iWork '09 folder.
    Is it difficult to understand that we don't buy three separate applications but one package?
    The soluce of three apps in one package may have several reasons:
    (1) developping Keynote then Pages then Numbers was more efficient in terms of cost than developping them as a single app.
    (2) keeping them as separated items gives the ability to load an item smaller than a treeinone app so it requires less time and use less memory.
    (3)…
    If users are too numerous to break the 'rule', I'm afraid that Apple decide to pack the three apps in a single item so the problem would be definitely solved.
    If someone want to have direct access to iWork components from the Applications menu, the correct soluce is to create aliases of thes apps and store these aliases in the Applications folder. Neat, simple and free of the described oddities.
    as in the +Open With+ in File information,
    The operating system apply a default setting for the "Open with" feature.
    There is a problem for those which want an other setting.
    But, as every user has its own needs, there will always be necessary to make individual choices.
    Which app must open a .doc file ?
    For me it's a moveit_to_thetrash tool
    for some users, it's Word
    for some, it's openOffice
    for some, it's neoOffice
    for some, it's Bean
    for some, it's Pages
    for some, it's TextEdit
    and I know users having all of them installed.
    Automatic link between a kind of doc and an app is an inaccessible dream.
    The user action is required.
    and the +Keyboard Shortcuts+ preferences.
    The decision to apply this or that shortcut to a menu item is part of the design task. I think that it's the designer which must define them, not the user. You don't change the commands of your motorcar, I don't understand why you would change those of an application.
    If you don't like the application GUI, use an other app.
    Yvan KOENIG (VALLAURIS, France) vendredi 11 septembre 2009 17:24:59
    The user is here to use program, not to design them.

  • File adapter Read operation not working.

    Hi All,
    I have a simple file adapter which will read from a csv file and insert into a table. I have deployed the application successfully, but the application is not reading from the specific location. I am not getting any error in the EM console. Below is the XSD that I used.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
                xmlns:tns="http://TargetNamespace.com/InboundService"
                targetNamespace="http://TargetNamespace.com/InboundService"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                nxsd:version="NXSD"
                nxsd:stream="chars"
                nxsd:encoding="US-ASCII"
    >
      <xsd:element name="Root-Element">
        <xsd:complexType>
          <xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="terminated" nxsd:terminatedBy=",">
            <xsd:element name="Student" nxsd:conditionValue="R">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="Roll" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
                  <xsd:element name="Name" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
                  <xsd:element name="Flag" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:choice>
        </xsd:complexType>
      </xsd:element>
    This is the file that I want to read:
    5,Ram,N
    6,Shyam,N
    Please help friends.

    You should extensively practice the samples given in Oracle's documentation guide for modelling Native XSD. That will give you a better idea, about how to go about the native xsd schemas.. Anyways, I looked into your schema.. You need to make 2 changes to make this xsd work..
    (1) Change "xsd:choice" tags to "xsd:sequence".
    (2) Include a closing tag of "xsd:schema" to make the xsd well-formed.

  • How to get file name from file adapter (Read Operation)

    Hi All,
    I am reading files from local location, in jca file i gave filename property =*.* ( which reads all files), and now I want to read the incoming file name inside bpel and I want to copy the file name to some variable. Is this possible?

    Yes, its possible.
    In your receive activity,set below property in its properties tab:
    <bpelx:property name="jca.file.FileName" variable="FileName"/>
    Before that make sure to create a variable "FileName" of string type.
    Whatever file your file adapter will read,its name will be stored in this variable.
    Hope this helps.
    Regards,
    Karan
    http://learn-oraclesoa.blogspot.com/

  • How can I read several avi files in single DVD with FRONT ROW?

    Hi!
    Is it possible to make Front Row read several movie files in a single DVD?
    I burned 6/7 avi files in each DVD, but Front Row can't even read the DVD itself!
    Thanks!

    Hi Imcaet
    It sounds as though you have made a Data DVD rather than a Movie DVD. Front Row can only read Movie DVDs. All Data must be in iTunes, or in on of the directories it looks in, such as "Movies" in your home directory.
    If you need to combine the movies, you will need something like QuickTime Pro 7, which can be purchased from the Apple website. You need to Select All the movie you wish to Append, Copy, go to the End of the movie you wish to Append to, and Paste. You can then save/export the movie in full.

  • File adapter - Archive issue with adapter module

    Hi All,
    I have 2 issues here. We are currently using PI 7.11 EHp1 SP02.
    1. Arhival with "add time stamp" wont work. It just gives us an error message saying simpledate format exception.
    I have gone through the OSS note 1265534 and thought this will resolve the issue. But our BASIS team believes this note is only applicable for PI 7.1 SP01. Can you one using PI 7.11 SP02 comment on this?
    Note: Archive option with out add time stamp works fine.
    2. When I use adapter module in my sender file configuration, the archive option itself does not work. Read the official SAP help which says "To archive source files where a permanent error occurred during processing, set the indicator.
    A permanent error occurs either during the conversion of the file content, or in a module in the module processor."
    So the question here is, how do we make the error permanent? The only way to throw error from adapter module is using the ModuleException. It has 4  different constructors. I have used both
    ModuleException me = new ModuleException ("My error Msg"); and
    Module Exception me1 = new ModuleException ("Error String", new Throwable("My error Msg");
    In both the cases, the archival wont happen.
    Any ideas welcome.
    Thanks
    Jai

    Hi,
    I am using NFS protocol here not FTP. Sorry I dint mention that earlier.
    Thanks
    Jai
    Edited by: Jaishankar on Apr 1, 2010 9:55 AM
    Edited by: Jaishankar on Apr 6, 2010 11:10 AM

Maybe you are looking for