How generations for db in the XSLT file sequence number

Hello gurus SOA,.

I have a requirement, please see below

I am using SOA 11.1.1.6

Insert a webservice to db, XSLT call, I have 10 items next to the source and 11 items next to the target.

  • Source to target first 10 mappings are performed.
  • Now the requirement is, for the 11th element target we must pass a sequence number to the database targeted, means-(sequence number must be generated for each execution of the XSLT execution)

How do the last point?

Can someone help me please

Hello

You can pass the sequence number in the 11th element to help. "oraext:sequence-next-val("Sequence name as a string", "Datasource as a string") function.

Kind regards

Anshul


Tags: Fusion Middleware

Similar Questions

  • How to find the number of days between 2 date elements in the XSLT file

    Hello

    I need to calculate the number of days between 2 date elements (type xs: date). Can you please direct me as to how I can do the same thing.

    I work in 11g and using XSLT 1.0. I tried several options but yet to get a solution for this. I think that this can be done also using XSLT 2.0, but who has not worked for me.

    Can someone please help with this problem, thanks in advance!

    Thank you
    Anju

    Hello

    Have you seen this message?
    Re: Get the Date difference between 2 values of date in days

    You can do in the XSLT file since the dates are in ISO 8601 format.
    http://www.w3.org/TR/NOTE-datetime

    Here is a sample XSLT...

    
    
    
    
    
    
    
    

    The XSLT above will result in * 4 * for the next entry...

    
    2012-01-11T00:00:00.000-05:00
    2012-01-15T00:00:00.000-05:00
    
    

    You can test this example here...
    http://xslttest.appspot.com/

    I hope this helps...

    See you soon,.
    Vlad

    It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts)
    https://forums.Oracle.com/forums/Ann.jspa?annID=893

  • How can I re - attach the data files for the programs?

    Original title:

    reconnection of the files

    BONE had to be reinstalled.  All data is saved but lost programs.  Programs now reinstalled, but how can I re - attach the data files for the programs?

    Hello

    You copy the data on your computer (Documents, Photos, etc.) and file extensions should be automatically associated with programs they have written in.

    Otherwise:

    "Changing programs by default by using Set Program Access and defaults of the computer"

    http://Windows.Microsoft.com/en-us/Windows/set-program-access-computer-defaults#1TC=Windows-7

    "How to change file Associations in Windows 7 and Windows 8.

    http://www.7tutorials.com/how-associate-file-type-or-protocol-program

    See you soon.

  • PC DM files: my hard drive is currently filled by PC DM files in my folder/Public user folder. How can I safely remove the right files in this folder?

    My hard drive is currently filled by PC DM files in my folder/Public user folder.  How can I safely remove the right files in this folder?  Vista Home Premium 64 bit is my os.

    Hi templar_39,

    DM (Message Delivery) file types are not Windows files, they can be generated by a third-party program.

    This particular file type is often associated with audio data and can be hosted on some cell phones to be used as ringtones or multimedia clips. To my knowledge, these files can be generated by your mobile phone.

    Note: you can go ahead and remove these files only if you notice that the files do not contain any important information.

    If this happens without connect you all devices (like mobile PHONES), this may be a virus or malware activity. You can run a virus scan to get rid of them

    Step 1: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Help: Program changed by default for Internet Explorer, the .lnk files.

    So yesterday, I did something stupid. I managed to change the default program for all my .lnk for Internet Explorer files. I am running Win 7 (64).

    When I double-click on any file on my desktop, it tries to open the file with Internet Explorer. It is the same for most of the program files in my Start menu. I met some difficulties for this problem, but all were for the latest operating systems such as Vista and XP so I didn't run the risk of ruining my registry even more by running an obsolete program. If more information is needed just ask.

    Help ASAP would be greatly appreciated.

    Thanks in advance people.

    Hello

    Reset the lnk - files shortcut link (LNK).

    Restore the Type Associations by default Windows 7 file Extension
    http://www.SevenForums.com/tutorials/19449-default-file-type-associations-restore.html

    How Unassociate a Type of Extension file in Vista and a utility to help (Windows 7 too)
    http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.html

    How to set default Associations for a program in Windows 7
    http://www.SevenForums.com/tutorials/2630-default-programs-set-programs-default-associations.html

    How to change the default program opens a file Type in Windows 7 http://www.sevenforums.com/tutorials/12196-open-change-default-program.html

    How to associate a file Type or protocol default program in Windows 7
    http://www.SevenForums.com/tutorials/9154-default-programs-associate-file-type-Protocol.html
    How to show or hide the Extensions of types of files in Windows 7
    http://www.SevenForums.com/tutorials/10570-file-extensions-hide-show.html#post101629

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to extract information from the ovf file from a file of eggs by programming?

    How to extract information from the ovf file from a file of eggs by programming?

    Hello

    Please provide details:

    -On what OS you are programming (Linux, Windows,...)?

    -What programming or scripting language do you use?

    An EGG file is just a tarball of hard, .ovf and .mf files. The .ovf file is always the first. For example, on a Unix like operating system, this should be easy.

    For Windows, there are several options available to manage programmatically the tarballs. See for example http://www.codeproject.com/Articles/470999/tarlib-Windows-TAR-Library.

    And the ovf itself file is in XML format. For handling XML files are libraries available for literally every OS and programming language.

    Google is your friend.

    Andreas

  • How to open or convert the .avi file on old mac running OS.10.6.8?

    How to open or convert the .avi file on the old mac running OS.10.6.8.  We tried downloading several conversion programs as well as programs that run .avi, but everyone's message could not be opened on the mac or require a fee.  Anyone able to fix it.  We have great audio video file we need to convert.

    Try to use MPEG Streamclip; You can be told to install Perian or another component, or who does not open the AVI file. AVI is a container, not a format; no single component or codec will open all reviews, and some cannot be played or converted in Mac OS X.

    (142484)

  • Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site.

    Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site since the update to version 3.6 to 4 RC1.

    Gel mouse pointer when it comes across objects that use some sort of animation or gradual highlighting when hovering on (which is basically all the Firefox 4 items menu, tabs, etc.) But also a lot of things on the Web pages as the green buttons on this page that change color when you hover over them).

    After rebooting my system, however, the problem seems to have disappeared!

    [, WinXP SP3 - 4 GB RAM, Core i5 M520, driver Nvidia NVS3100M 6.14.12.5738, Firefox 4.0]

  • How can I remove all the unused files to clear a space

    How can I remove all the unused files from my computer

    You can remove applications on the control panels.  XP seems to me (im not on a XP ATM machine) programs cpanel

    Files?  you do not (or should not) delete separately

  • How do I "save under" the new file in Acrobat DC

    How do I "save under" the new file in Acrobat DC

    In Acrobat, use the file menu > save as...

  • How to restore control of the trace file file

    How to restore control of the trace file file?

    say I have a file of trace control file and I've lost all control file copies. The only backup of control file is the control file record.

    What are the steps to follow.

    Version: 10.2.0.4
    OS: Solaris 10

    SQL > alter database backup controlfile to trace;

    After giving this statement, oracle will write the CREATE CONTROLFILE statement in a trace file. The trace file will be randomly
    called something like ORA23212. TRC and it is created in the USER_DUMP_DEST directory.

    2. go in the USER_DUMP_DEST directory and open the last trace file in the text editor. This file will contain the CREATE CONTROLFILE
    statement. It will be two sets of instruction with RESETLOGS and one without option RESETLOGS RESETLOGS.use of the CREATE CONTROLFILE statement.
    Now, copy and paste the statement into a file. Whether c.sql

    3. now open the c.sql file in the text editor and set the name of the database to ica to prod illustrated in the example below (replaced REUSE to the GAME)

    CREATE CONTROLFILE

    Prod to DEFINE a DATABASE

    LOGFILE GROUP 1 ('/ u01/oracle/ica/redo01_01.log',)

    U01/Oracle/ICA/redo01_02.log'),

    GROUP 2 ('/ u01/oracle/ica/redo02_01.log',)

    U01/Oracle/ICA/redo02_02.log'),

    GROUP 3 ('/ u01/oracle/ica/redo03_01.log',)

    U01/Oracle/ICA/redo03_02.log')

    RESETLOGS

    DATAFILE ' / u01/oracle/ica/system01.dbf' SIZE 3 m.

    ' / SIZE of the 5 M u01/oracle/ica/rbs01.dbs.

    ' / SIZE of the 5 M u01/oracle/ica/users01.dbs.

    ' / SIZE of the 5 M u01/oracle/ica/temp01.dbs

    MAXLOGFILES 50

    MAXLOGMEMBERS 3

    MAXLOGHISTORY 400

    MAXDATAFILES 200

    MAXINSTANCES 6

    ARCHIVELOG;

    SQL > STARTUP NOMOUNT;

    5. now run the c.sql script

    SQL > @/u01/oracle/c.sql

    6. now, open database with RESETLOGS

    SQL > ALTER DATABASE OPEN RESETLOGS;

    Thank you.

  • What is "Error of Privoxy" Privoxy (oooooobo) fatal error: could not check the configuration file ':(error number 2) Config.Txt

    What is "Error of Privoxy" Privoxy (oooooobo) fatal error: could not check the configuration file ':(error number 2) Config.Txt.

    I always get this message in a long horizontal area on my desk top once I restart and turn on my computer.

    Thank you

    "Privoxy" is a 3rd party is no program not part of Windows XP.  You can go to
    Panel-> Add/Remove programs
    and remove this program.  If you still think that you need this program, try reinstalling it on Sourceforge
       <>http://sourceforge.NET/projects/ijbswa >

    HTH,
    JW

  • Help on recovering database /Restore - no available controlfiles kccpb_sanity_check_2 control file sequence number mismatch

    Hi all.

    I really need your help on this:

    (1) version: 11.2.0.1 EE / Windows.

    (2) database does not start, don't get database.

    Alert.log info:

    Instance of stopped by USER, pid = 3652

    2015-11-22 15:57:19.763000 - 04:30

    I found this after using adrci:

    2015-11-22 15:49:15.727

    SESSION ID: (191.1) 2015-11-22 15:49:15.727

    CUSTOMER ID :() 2015-11-22 15:49:15.727

    NAME OF THE SERVICE :() 2015-11-22 15:49:15.727

    MODULE NAME: (sqlplus.exe) 2015-11-22 15:49:15.727

    ACTION NAME :() 2015-11-22 15:49:15.727

    Informational message:

    Control file 1 has seq 2713995, low 2713994 file # 0

    Error: kccpb_sanity_check_2

    Control file sequence number mismatch!

    fhcsq: bhcsq 2713995: 2714016 cfn 0

    2015-11-22 15:49:15.758

    USER (ospid: 2504): put an end to the instance

    Verification of MOS Note: 435436.1 I must:

    (1) to restore a backup of a controlfile and recover

    OR

    (2) to recreate the controlfile

    OR

    (3) restore the backup data and recovery

    It is a database, that I was not, up to now administer. But:

    (1) I tried from the database with addressed controlfile (the one located in FRA). No luck. (Create pfile from spfile / startup pfile)

    (2) the database is not mount / open. It hangs on the editing process. So I can not issue an alter database controlfile to trace.

    It seems that my options are:

    (1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD

    (2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).

    I found this link: http://gavinsoorma.com/2009/07/rman-recovery-from-loss-of-all-control-files/

    The procedure seems easy, but since this controlfile is not in the current SNA of database (data files, etc.). I'm not sure it if it would work.

    So in short, I think I have an automatic backup controlfile and it's OK. but a little old. I can restore from this copy of CF?

    Please I'm pressed real here, so help will be greatly appreciated!....

    Thanks in advance!

    Best regards, Luis...!

    Hello

    It seems that my options are:

    (1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD

    (2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).

    It seems that you have few options,

    In my opinion, you should start with option 2), but you have logs archived redo and all and all the backups of catalog and perform a restore.

    After, if not works, you must manually create the control files, but you are right, you must carefully on all the data files. Here a log generated in the last level 0 RMAN backup could help you, don't forget the newspaper are all entries of data for backup files.

    I wish to have more ideas to help you, but I have no other.

    I hope this helps.

    Kind regards

    Juan M

  • How to call a value of preference in the XSLT file

    Hi all

    How to call a value preference (which is defined in bpel already) in the XSLT?

    Can someone help me please

    Kind regards

    Villeneuve ch

    Get the value of preference and and check out the post below to pass as a parameter

    http://www.albinsblog.com/2012/07/passing-parameter-to-XSLT-in-SOA-11g.html#.UjfqfMZmiSo

    Concerning

    Albin I

  • For each does not properly in the XSLT file to two loops on a single node

    Hi all

    I'm transforming 2 inputs to a single target using XSLT. Both of the target entry of the same pattern and have the child element.
    In the XSLT, I gave this condition.
    "< xsl: for each select="$Variable1.payload/ns1:BookStore/ns1:Books ">
    < xsl: for-each select = "/ ns1:BookStore / ns1:Books" >
    "< xsl: if test="$Variable1.payload/ns1:BookStore/ns1:Books/ns3:BookId = ns3:Books / ns3:BookId ">

    My second for each does not work and in the target, I'm getting double elements. Help, please. Here are two xml source and xml desired target.
    1 XML source:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < / book >

    XML source 2:

    < bookStore >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 1 < / BookId >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 2 < / BookId >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 3 < / BookId >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Desired target XML:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Thank you

    Hello

    It will not work like that... To do something like the following... Only one for each...

    
      
      
        ns1:Name
        ns1:Author
        ns1:BookId
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Quantity
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Price
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Status
      
    
    

    I don't have to check the syntax, but you get the idea...

    I hope this helps...

    See you soon,.
    Vlad

Maybe you are looking for