Assign activity erros with the XPath query string returns multiple nodes.

It comes to xml message we have with two elements < corecom:BusinessScopeReference > inside. How to assign the first < corecom:BusinessScopeReference > value of the other variable in the string.


< variableentree >
< xmlns:corecom fault = "http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" xmlns:default = "http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" xmlns = "http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" >
< corecom:EBMReference >

< corecom:BusinessScopeReference >
< corecom:ID xmlns = "http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:ebo = "http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" >
Account: NUANCE (AIMA 17N9IL) < / corecom:ID >
< / corecom:BusinessScopeReference >

< corecom:BusinessScopeReference >
< corecom:ID xmlns = "http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" xmlns:ebo = "http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2" >
CREATECUSTOMERPARTYMSG/39303832313732363632373734303732 < / corecom:ID >
< / corecom:BusinessScopeReference >

< / corecom:EBMReference >
< / failures >
< / variableentree >


When I use the sub element assign, I get the error: "XPath query string returns multiple nodes." How to point to the specific element in the table.


< assign the name 'AssignId' = >
< copy >
< variable from = part "Variableentree" = "Fault."
Query = "/ corecom:Fault / corecom:EBMReference / corecom:BusinessScopeReference / corecom:ID" / >
< variable = "business_object_name" / >
< / copy >
< / assign >


Please suggest.

Check if this useful BPEL foreach

Tags: Fusion Middleware

Similar Questions

  • The XPath query results do not get

    Hello

    This is the xpath query and xml. Query is works well but do not fetch all results.

    Select d.

    the left outer join CALC_RUN_XML

    XMLTABLE (XmlNamespaces (DEFAULT 'http://www.cigna.com/coreops/ccmi/internal/calculation/1 http://www.cigna.com/coreops/ccmi/client/2 ','' as "ns2"), )

    "/ calculation/calculationParameters/clientSelections / ns2:client ' to CALC_RUN_XML. CALC_RUN_XML

    columns

    clientId varchar2 (100) path ' @ns2: clientId',.

    Number of account varchar2 (100) path ' @ns2: account number ',

    path of varchar2 (100) branchNumber ' @ns2: branchNumber',.

    path of varchar2 (100) benefitPlanNumber ' @ns2: benefitPlanNumber',.

    path of varchar2 (100) benefitPlanVariationId ' @ns2: benefitPlanVariationId',.

    path of varchar2 (100) benefitClassNumber ' @ns2: benefitClassNumber',.

    path of varchar2 (100) clientAccountEffectiveDate ' @ns2: clientAccountEffectiveDate',.

    path of varchar2 (100) clientAccountTerminationDate ' @ns2: clientAccountTerminationDate'

    ) d

    1 = 1

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'Yes'? >

    " < calculation = xmlns:ns2 ' http://www.CIGNA.com/coreops/CCMI/client/2 "xmlns =" http://www.Cigna.com/coreops/CCMI/Internal/calculation/1 ">

    < calculationParameters rateExhibitType = paymentFrequency "CAP" = "Monthly" calculationPeriod = "02" calculationYear = "2013" retroWindow = "Standard" retroWindowAmount = "" paymentDueDate = "2014-02 - 11 T 05: 00:00.000Z" > "

    < contractRateSheetSelections >

    < contractNumber selection '891' = >

    < rateSheetIds >

    < rateSheetId > 567 < / rateSheetId >

    < / rateSheetIds >

    < / selection >

    < / contractRateSheetSelections >

    < clientSelections >

    < ns2:client clientId = accountNumber "00358430" = "00358430" branchNumber = "A001" benefitPlanNumber = "MOAP001" benefitPlanVariationId = "00003250" benefitClassNumber = "A001" clientAccountEffectiveDate = "" 2009-06 - 01 T 04: 00:00.000Z "clientAccountTerminationDate =" 2199-12 - 31 T 05: 00:00.000Z "/ >"

    < ns2:client clientId = accountNumber "00358430" = "00358430" branchNumber = "A001" benefitPlanNumber = "MOAP001" benefitPlanVariationId = "00003250" benefitClassNumber = "A001" clientAccountEffectiveDate = "" 2009-06 - 01 T 04: 00:00.000Z "clientAccountTerminationDate =" 2199-12 - 31 T 05: 00:00.000Z "/ >"

    < / clientSelections >

    < / calculationParameters >

    < runHistory >

    < run runType = 'Se MOQUER"userId ="M59056"runDescription ="satish11"runDateTime =" "2014-02 - 11 T 17: 01:28.553Z" jobExecutionId = "2064" / > "

    < / runHistory >

    < / calculation >

    Thank you

    Partha

    Hello

    XML attributes belong to no namespace, unless explicitly qualified with a prefix.

    They do not inherit from their parents namespace either.

    So, in short, remove the attributes ns2 prefixes, and it should be OK:

    clientId varchar2 (100) path "@clientId."

    Number of account varchar2 (100) path "@accountNumber."

    path of varchar2 (100) branchNumber "@branchNumber"

    path of varchar2 (100) benefitPlanNumber "@benefitPlanNumber"

    path of varchar2 (100) benefitPlanVariationId "@benefitPlanVariationId"

    path of varchar2 (100) benefitClassNumber "@benefitClassNumber"

    path of varchar2 (100) clientAccountEffectiveDate "@clientAccountEffectiveDate"

    path of varchar2 (100) clientAccountTerminationDate '@clientAccountTerminationDate '.

  • Create and schedule the iBot cover seed with the saved query

    Hi all

    Can I know how to create and schedule I Bot seeds cached with the saved query ((iBot to directly run a daily load of reseeding the cache)

    Here's the documentation:

    30%

    http://download.Oracle.com/docs/CD/E10415_01/doc/bi.1013/b31767.PDF

    31%

    http://download.Oracle.com/docs/CD/E21764_01/bi.1111/e10544/delivers.htm#i1060405

  • Count (*) with the nested query

    Hello
    I have a question about the count (*) with the nested query.

    I have a table T1 with these columns:
    Number of C1
    Number of C2
    Number of C3
    Number of C4
    Number of C5

    (The type of each column is not relevant for example).

    This query:
    Select C1, C2, C3, C4
    from T1
    Group C1, C2

    It is not correct becausa C3 and C4 are the columns specified in the GROUP BY expression.

    If you run this query:
    Select count (*)
    (select C1, C2, C3, C4
    from T1
    Group C1, C2)

    I don't have an error message (properly, the result is the number of records).

    Why?

    Thank you.

    Best regards
    Luca

    because the optimizer rewrites as

    SELECT     COUNT(*)
                  FROM   T1
              GROUP BY   C1, C2  
    

    G.

    Edited by: g. March 1, 2011 09:19

  • I can't access the system tools and trying to connect to internet it is blocked with the 404 error is returned

    Original title: help with XP

    Hello. Lost my son specifications accessories so I can not access tools etc as a result of this system by trying to connect to the internet, it is locked with the 404 error is returned. I checked and seems to be something that is called the prevention of execution of data, or something similar. I suspect that a virus may have corrupted windows. is there a site that I can connect to that will analyze or fix the erors with windows. I know a little about computers, but the easier the better solution to any who no matter what solutons to one of these problems. I tried turning of DEP, but it does not work. the indices or help gratefully received. Thank you

    Hello

    ·         What is the service pack installed?

    ·         What anti-virus program do you use?

    Method 1:

    I suggest you to download and run the latest Microsoft security on your computer Scanner and check if it helps:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Method 2:

    I suggest you run the SFC (System File Checker) and check if it helps.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

    Method 3:

     

    Error 404 occurs when Internet Explorer is able to connect to the website, but the webpage cannot be found. This error is sometimes caused because the webpage is temporarily unavailable or that the Web page has been removed.

    I suggest that you reset the internet settings explore by default and check if it helps.

    For more information, see the article.

    How to reset Internet Explorer settings

    http://support.Microsoft.com/kb/923737

    Important: Reset Internet explore its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

     

    Method 4:

    I suggest you create another user on the computer and verify the results: how to create and configure user accounts in Windows XP: http://support.microsoft.com/kb/279783

    If the problem does not occur in the new user, and then follow the steps from the link below: how to copy data from a corrupted to a new profile in Windows XP user profile: http://support.microsoft.com/kb/811151

  • ActiveSync with Active Directory and the custom search filter returns nothing

    Hello

    I use ActiveSync to update the Active Directory user accounts in the IDM repository.

    The search is based on the uSNChanged attribute to find the last modified accounts.

    I'm trying to set a search filter in my resource Active Directory synchronization strategy that is combined with the default

    I expect to see this filter on the balls
    (& (objectClass = user) (objectCategory = person) (myCustomAttribute = value) (uSNChanged > = 8003748))

    But Active Directory receive it:
    (& (objectClass = user) (objectCategory = person) (FALSE) (uSNChanged > = 8003748))

    If the query never returns from the objects.

    Can someone help me solve this problem?

    Thanks in advance

    Edited by: user1657029 Apr 23. 2013 15:52

    Problem solved. My custom attribute was not on the global catalog in Active Directory

  • Windows 7 will not be activated. With the help of a legitimate license key.

    Windows 7 will not activate... With the help of a legitimate license key.

    Have you tried to activate by phone?

    Activate Windows 7 manually:
    1. click on start and in the search for box type: slui.exe 4

    2. press enter on your keyboard

    3. Select your country.
    4. Select the telephone activation option and brace yourself for a real person.

    Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
    http://go.Microsoft.com/fwlink/?LinkId=52012

    Releasing it's easy: with Windows | ActiveWin | Laptops | Microsoft MVP

  • Dynamic active frame with the data from a file

    Hello

    I'm looking in creating a dynamic active setting (like the BBM active frame that has a title of the header and moves through updates).

    I will create a page that has a heading "interesting facts" and then labels different facts and I was wondering how I would go on the establishment in order to create a dynamic active frame that scroll the different labels?

    Thanks in advance

    Hello

    You can follow the example of code here.

    https://github.com/BlackBerry/Cascades-samples/tree/master/BFB-showcase

    The "activeFrameQML.cpp" has this feature

    {voidActiveFrameQML::update()}

    TODO: Replace with piloted by data update instead.

    If {(isActiveFrame)

    QTimer::singleShot (10000, this, SLOT (update ()));

    issue of updateChanged();

    }

    }

    And you can place your updated code in the 'AppCover.qml' to update your ActiveFrame

  • Disable the text with the selection query list element?

    4.2.1

    THM:2

    Hi all

    In the full text with Auto item, is the query preloaded when the page loads? Or is it run only when the user enters any text? Reason being that on the follow-up to our application apex because of a performance issue, it was noted that the query associated with the AutoComplete text box was running 3 times, (it has been referred to in 3 places on the same page in a sql report. We feel that the sql would be only when someone starts to enter a value in the field? If this isn't the case, we can disable to run when the page loads?

    In addition, if the text with Auto C is used in the where clause of a sql report, would it be internally run the underlying sql query? Should he treats not only as a text element?

    Thank you

    Ryan

    Hi Ryan,

    Please see the concept of lazy loading of AutoComplete.

    http://blog.whitehorses.nl/2010/02/25/Oracle-Apex-4-0-text-field-with-AutoComplete/

    -Sunil Bhatia

  • Problem with the simple query.

    Hi all

    I am facing problem with the query below

    Select A.COL1, A.COL2

    B.COL1, B.COL2

    FROM TABLE1 A

    TABLE 1 B

    WHERE A.header = '123'

    AND B.header = '123'

    AND nvl (A.COL6, 'ABC') = 'ABC '.

    AND NVL (B.COL6, 'DEF') = 'DEF '.

    Basically, my requiremenyt is: I have only one table, TABLE1 here, which has a line two lines (for the same header) as "ABC" and another is "DEF". Table 1 has two columns (col1, col2) that should be displayed for both lines.

    When the header has two records in table1 top query works. and but if I do not have a record for any header example there are a record for "abc" in col6 only. so my query above does not work because there is no record for 'DEF' in col6. But I want to again request to fecth the output (for b.col1 and b.col2 should have null values)

    could you pls suggest me how to get the 4 columns.

    Thanks in advance

    Kind regards

    UVA.

    Try to place the status of outer join on column: analytical_criterion_code as

    and nvl (AUDIT.analytical_criterion_code, 'AUDIT2') = 'verification2. '

    .

    .

    and nvl (TRANS.analytical_criterion_code, 'TRANS2') = 'TRANS2.

    In the sub query based on the opinions that you have given in post # 1, although there is no value "DEF * ' for col6 due to the condition of outer join on b.col6 (+) line is extracted with b.col [1,2,3] as NULL values. Try to remove the (+) sign b.col6 and test.

    with t as)

    Select 111 col1, col2 'aaa', 'ABC' col6 123 header of all the double union

    Select 222 'bbb', 'DEF' col6, 123 double header

    )

    q as (select 123 double header)

    Select A.COL1, A.COL2, A.COL6

    B.COL1, B.COL2, b.COL6

    q.header

    T a

    t b

    q

    where a.col6 (+) = 'ABC '.

    and b.col6 (+) = "DEF."

    and q.header = a.header (+)

    and q.header = b.header (+)

  • Estimate of the size of the dump file with the export query parameter

    Hi all

    I would like to ask questions about EXPORT utiliy. Can I estimate the size of the dump for export with the parameter file "application"? You can find my syntax exp on below?

    exp scwq/sCwq201 parfile = scw.par

    contents of the scw.par file.

    FILE ='/ u01/EXPDUMP/SCW. DMP ".
    TABLES IS MIMO. WFTRA
    JOURNAL ='/ u01/EXPDUMP/SCW. JOURNAL"
    CONSTRAINTS = NO.
    STATISTICS = NONE
    QUERY = "WHERE (Eurie > 8132560 AND IN (SELECT FROM mimo.objectcfg WHERE oname sobject = 'TICKET')) OR (Eurie > 188872 AND IN (SELECT FROM mimo.objectcfg WHERE objectname sobject = 'WORDER')) '"

    In fact, I know that without query to export file parameter. But I could not find a solution to my question...


    B.R

    Hello
    From what I've seen when you do 'query =' is not taken into account at all when estimating the size of the dumpfile no matter if you use blocks or statistics methods. All I can suggest you do is get the estimated size and then work manually on what percentage of lines you will be back and then just do a simple calculation.

    Kind regards
    Harry

    http://dbaharrison.blogspot.com

  • Problem with the input query mode. FRM 41009, 40301

    Hi all

    I have a problem with the mode of input query. What can I say, I'm in the mode of input query, and I click on a button. I get the error THAT FRM-41009 displayed.

    Now, I've wanted handled. So I created a trigger of error in order to handle the error.

    IF ERR_CODE = 41009 THEN
    NULL;
    END IF;

    A problem is that when you use the null value, it will not terminate the mode of input query, and then I get frm-40301 error.

    Second, it's that I can't use exit_form in a trigger of the error.

    I am aware that I can press F4 to exit this mode, but I don't want to do whenever I'm sure I'll get the user complaints.

    Another solution would be to put the following code in the trigger when key pressed for each button in the form:

    If: system.mode = "ENTER-QUERY" then
    exit_form;
    end if;

    But I don't want to reproduce this code in my form.

    Please can you give me an idea how to handle this correctly?

    Thank you
    Michael

    PS: Version of the form = > ORACLE FORMS 10g (Forms [32 bit] Version 10.1.2.3.0)

    I have a problem with the mode of input query. What can I say, I'm in the mode of input query, and I click on a button. I get the error THAT FRM-41009 displayed.

    What is the code in the trigger of your button When-Button-Pressed (WBP)? Maybe you should check to see if the form is in the Mode query in your WBP rather than try and remove the error? In other words, eliminate error - do not delete it. :)

    If you want instead to remove the error, there is a technique to built-ins call restricted to a trigger that does not allow them. Do this by the use of a millisecond zero Timer. For example:

    /* Sample On-Error Trigger */
    DECLARE
      n_err_cd   NUMBER := ERROR_CODE;
      t_on_error TIMER;
      ZERO  NUMBER := 0;
    BEGIN
      IF ( n_err_cd = 41009 ) THEN
        /* Create Timer to execute Exit_Form() */
        /* to Cancel Query-Mode. */
        t_timer := Create_Timer('ON_ERROR', ZERO, NO_REPEAT);
      ELSE
        /* Handle all other errors here... */
      END IF;
    END;
    
    /* Sample When-Timer-Expired Trigger */
    DECLARE
      v_Timer  VARCHAR2(30);
    BEGIN
      v_timer := Get_Application_Property(TIMER_NAME);
    
      IF ( v_timer = 'ON_ERROR' ) THEN
        /* Notice, the timer name is case sensative! */
        Exit_Form;
      END IF;
    END; 
    

    I am aware that I can press F4 to exit this mode, but I don't want to do whenever I'm sure I'll get the user complaints.

    Well, it's just standard features of Oracle Forms. If you switch the Mode request form - you must run a query or cancel the query Mode! This is how it works. Your users need to understand that and accept it - just as they accept the functional also for other programs. ;) Another option would be to add a "Cancel request" button to your form and make it so it is enabled only when the form is placed in Query Mode. Just a thought...

    I personally prefer to prevent the occurrence of an error rather than remove the error. :)
    I hope this helps.
    Craig...

  • LookupField with the search query

    Hello

    I have a LookupField in a child form, which is populated according to the value of the previous LookupField.

    These are the properties of the second field (my problem):

    Search-> select lkv_encoded, request lkv lkv_decoded, hglN where lkv.lku_key = lku.lku_key and lku_type_string_key = 'LOOKUP_NAME' and lkv.lkv_encoded as ' $Form data. TABLE_FIELD_FROM_THIS_FORM$ %'
    The width of the columns-> 100 100
    Legends of the column-> Code, decode
    The names of column-> lkv_encoded, lkv_decoded
    Column name of research-> lkv_encoded

    When I opened the LookupField, research appears correctly.

    But when I click on add to add the ChildForm, the lkv_decode is added to the database and I need the lkv_encode.

    How can I get the encoding?
    What I am doing wrong?

    TKS

    Hi raraujo,

    Verify that the active versions of the parent and the shape of the child are the right ones.
    Also check if the parent is associated with the correct version of the child form.

    Kind regards

  • Error giving a subquery, but with the outer query, it gives no error.

    Hello
    The following query gives error "ORA-00979: not a GROUP BY expression" (I know to use the filter condition in the WHERE clause, but for reasons explaining the problem, I use the HAVING clause)

    SELECT DeptNo
    WCP
    HAVING comm IS NULL;

    But when I use it as a subquery in as long as below, the query will run successfully (resultset may be wrong).

    SELECT d.
    BY d Dept.
    (SELECT deptno
    WCP
    WITH comm IS NULL) a
    WHERE d.deptno = a.deptno;

    Please explain the reason.

    Kind regards
    Danish

    Sort of philosophical question. But you're right, this behavior can be misleading.

  • retrieve the value of the URL query string parameter

    It seems like it should be simple, but for some reason that I can't figure out how to get the value of a variable in a URL query string.

    If it is in my address bar: http://www.whyu.com/whyplayer.html?chosenCLIP=movie

    and I want just the value of 'chosenCLIP' to use in my loaded SWF file, how can I do it in AS3?

    I think that the easiest way is to use SWFObject.

    In your HTML code:

    var flashvars = {};
    If (swfobject.getQueryParamValue ("chosenCLIP")) {}
    flashvars.clip = swfobject.getQueryParamValue ("chosenCLIP");
    }
    swfobject.embedSWF ("myMovie.swf", "myContent", "550", "400", "9.0.0"",","flashvars");

    And the clip variable will be available as a FlashVar to your movie:

    Var loaderInfo.parameters.clip = Clip;

Maybe you are looking for

  • Dynadock U - Audio choppy

    Problems with a new Dynadock you and Tecra A11 running Windows 7 64 bit... via Media Player - audio works through multiple channels USB and audio via Softphone VOIP and Skype via Logitech USB Headset (also connected to Dynadock) is rough intermittent

  • Detection of blurtooth device when installing the battery

    When installing the Toshiba Bluetooth stack, when the program asks you to connect the bluetooth device, there is no detection of the device that I use (Belkin F8T017 Bluetooth dongle). Is this normal? A solution is to use such a dongle with the toshi

  • Run the exe

    Hello I'm new with labview and I need your help. I want to execute exe file (including USB) on the system without labview. I create "Installer" and added "NI Labview Run Time Engine 2011" and "NI Visa TERM 5.1" ". but the USB is not working!

  • Issue of QoS

    I don't know if this can be done without a lot of manual configuration. I have a router (a SRI 2921 15.4 (3) M3) which is connected to the other ISR routers running (running 2921 s 15.4 (3) M3 and 4451-Xs running using DMVPNs 15.4 (3) S3).  DMVPN tun

  • Transfer of files from the old HARD DRIVE to new computer without an old computer. (He's dead - can not use) I have the hard drive, but need help to transfer my old files and settings.

    ·        My old Win XP computer died - it is completely unusable. I bought a new PC with Win 7 Pro and 1 TB. I still have the old HARD DRIVE (250 GB) which I have attached on the new computer using an external enclosure supports SATA drives. The exte