Failed to evaluate correlation query

Hi,
can anyone help me in resolving this error even after giving all the correlation properly. i am getting the following error message
Failed to evaluate correlation query.
Failed to evaluate the correlationAlias Query /esa:processServiceOrder/esa:ServiceOrder/esa:id" on the element "oracle.xml.parser.v2.XMLElement@29b829b8"
Please check your BPEL/WSDL source to make sure that property alias is defined correctly.

Hi,
"The property alias was not defined correctly in the BPEL/WSDL source, or the payload is not as expected"...
I bet on the latter... the payload is not as expected... Have you checked the payload?
Cheers,
Vlad

Similar Messages

  • CorrelationSet with JMS: "Failed to evaluate correlation query"

    Hi,
    i want to send a message over JMS to another service and then receive the correlated message back in my BPEL process.
    The only documentation i found was http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/async.htm#CIHBIEEJ
    Here the error message:
    callbackClient (faulted)
    [2007/01/31 10:16:41] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    - <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    - <part name="summary">
    <summary>
    Failed to evaluate correlation query.
    Failed to evaluate the correlationAlias query "/ns2:Request/ns2:Header/@Nummer" on the element "oracle.xml.parser.v2.XMLElement@b0abcb"
    Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
    </summary>
    </part>
    </selectionFailure>
    Here the source of invoke and receive:
    <invoke name="callbackClient" partnerLink="ControlEntrance"
    portType="ns1:Produce_Message_ptt" operation="Produce_Message"
    inputVariable="callbackClient_Produce_Message_InputVariable">
    <correlations>
    <correlation initiate="yes" set="myCorrelationSet"
    pattern="out"/>
    </correlations>
    </invoke>
    <receive name="Receive_1" partnerLink="ControlExit"
    portType="ns3:Consume_Message_ptt" operation="Consume_Message"
    variable="Receive_1_Consume_Message_InputVariable"
    createInstance="no">
    <correlations>
    <correlation initiate="no" set="myCorrelationSet"/>
    </correlations>
    </receive>
    If i change the pattern="out" to "in" (invoke-node), then the instance never completes in the BPELConsole (stops before invoke in AUDIT) but my JMS-webservice is executed....
    If pattern="in" i see in the logfile:
    ORABPEL-03813
    Failed to evaluate correlation query.
    Failed to evaluate the correlationAlias query "/ns2:Request/ns2:Header/@Nummer" on the element "oracle.xml.parser.v2.XMLElement@ccef02"
    Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
    So it is the same error but my webservice is invoked and i can provide a ORABPEL-number...
    Message was edited by:
    HEWizard

    Hi,
    "The property alias was not defined correctly in the BPEL/WSDL source, or the payload is not as expected"...
    I bet on the latter... the payload is not as expected... Have you checked the payload?
    Cheers,
    Vlad

  • Error in evaluating correlation query

    Hi,
    I am using 10.1.3.3.1 MLR#14 Patch (upgrade from 10.1.3.1). I have created a process where in I've created correlation sets. Basically, I am placing an Order XML on JMS queue (invoking JMS adapter) and the next activity is 'Receive' activity which is polling similar JMS queue for Order response. I have set up correlation between these two activities with the Order Id as the key. The process works fine sometimes and many a times it gets stuck while polling the JMS queue for response messages. I checked the log file and got the following error
    <2008-11-28 11:38:32,467> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": [com.collaxa.cube.engine.delivery.DeliveryCorrelationException: Failed to evaluate correlation query.
    Failed to evaluate the correlationAlias query "/ns2:ServiceBusinessMessage/ns2:Info/ns2:Attribute[ns2:Name='OrderId']/ns2:Value" on the element "oracle.xml.parser.v2.XMLElement@84f299"
    Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
    ORABPEL-03813
    Failed to evaluate correlation query.
    Failed to evaluate the correlationAlias query "/ns2:ServiceBusinessMessage/ns2:Info/ns2:Attribute[ns2:Name='OrderId']/ns2:Value" on the element "oracle.xml.parser.v2.XMLElement@84f299"
    Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
    I am getting the above error each time my process stucks while polling for the response messages. Also, this scenario I cannot re-produce at will as the process works fine in some cases while gets stuck for the remaining. Has anybody faced similar error? Is there any resolution as I could not find any help related to this error.
    Thanks in advance.
    Edited by: user2023115 on 28-Nov-2008 07:52

    There should be. Try putting the table name in quotes - some DBMS use single quotes, some use double quotes. For example say the table name has a space in it. Try something like:
    select * from 'a funny table';
    or
    select * from "a funny table";   (Actually, I think I'd try this one first...)
    Failing this, you have two choices: change the name of the table, or dump Access and go with a real DBMS - which you will probibly want to do anyway because it will only be a matter of time before you start hitting a performance wall. Access is particularly bad if you have more than one process making a connection to it at a time. Interms of alternatives, there are a couple really good open-source products out there, as well as no-cost versions of Oracle and SQL-Server.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Failed to parse SQL query: ORA-01403: no data found

    I'm going to post and answer my own question in the hope that others will not have to struggle with this error.
    Using a report of the type PL/SQL Function Body Returning SQL and using generic columns you may run into this error
    failed to parse SQL query:
    ORA-01403: no data found
    The SQL will run stand alone but the report fails.
    There is a setting just below the source you should check:
    "Maximum number of generic report columns"
    In my case the number of columns was dynamic and when it exceeded the number set as the maximium number of generic columns I received the 1403 error.
    Hope this helps someone.
    Greg

    Thanks for much for the pointer. For anyone else struggling with this too, I found that my generic columns had unordered themselves. Reordering them solved the problem for me.
    Edited by: user11096971 on Jul 22, 2010 3:19 AM

  • Classic Report CSV output failed to parse SQL query

    Hi,
    I'm trying to get a CSV output from a classic report. I'm generating the report based on a PL/SQL block that will return an SQL query. But when i download the CSV excel just gives me a:
    failed to parse SQL query:
    ORA-00936: Missing expression
    and shows me the query that the application is trying to parse. I'm also using bind variables (page items) in the PL/SQL block that is returning me the SQL query. I think that the reason that it fails to parse the query is that the query that is shown in excel has no bind variable values.
    Anyone got any ideas?

    Hi Arif,
    run your page in debug mode and check out the SQL statement which is actually executed for the report. That might help to diagnose what is going wrong.
    If you wish you can also post the report SQL statement which is getting executed.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Failed to parse SQL query by one user

    Hi all,
    in my app i have a text-item with a submit button. In this item i type a name and a report after the item-region show me the result(s). this works for all my users (>2000) perfectly, but one of this users become an error in the report-region:
    failed to parse SQL query:
    ORA-01403: no data found
    We try this with the same searchstring on the same computer/browser. If i logged in the result is ok, if the user logged in, the error message shows. If i try this on the computer from the user with me logged in, result ok. If the user try this on an other pc, results error.
    I have an productive and a developer workspace. In the developer workspace the user can try this perfectly without errors. Only in the productive workspace the error shows.
    The SQL-Select in the reprirt ist verry simple:
    select id
    , name
    , raum
    from table
    where instr(upper(name), upper(:P60_SEARCH))>0
    However all users can use this search-field with report perfectly, only this one user has the error. It is no restrictions on this item or report.
    Can anybody help me?

    Carsten,
    user preferences do not have anything to do with the fact where the user resides (apex built in, LDAP, whatever). User Preferences are saved for a named user and they are loaded next time the same user loggs in. For example, if you sort your report on a column x, apex will save this as a setting and next time you call the same report, this report will be sorted the same way. Since you don't have a permission to edit services, you should check your adminstrative permissions and conntact the real administrator of the workspace to do that "purge prefference" for you. I could bet this is the reason you are getting that strange error message.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Report failed to parse SQL query:ORA-01745: invalid host/bind variable name

    Hi,
    We are currently upgrading from v2.2.0.00.32 to v4.0.0.00.46.
    I have copied the applications onto our test server along with the various database objects and data etc.
    When I am running a report in v4, it is failing with the following error: "failed to parse SQL query: ORA-01745: invalid host/bind variable name".
    When I copy the SQL that builds the report into TOAD (on out test server) it runs OK so really cant see why it would fail in APEX. It works fine when I run the query in our APEX v2 and in TOAD in our live server.
    The query is as follows:
    SELECT
    aea.ALTERATION_ID
    ,aea.ALTERATION_ID "ALTERATION_ID_DISPLAY"
    ,aea.assembly_name "Revised BOM"
    ,assembly.description "Revised BOM Description"
    ,assembly.INVENTORY_ITEM_STATUS_CODE "Revised BOM Status"
    ,aea.BEFORE_CHANGE_QTY
    ,flv.MEANING "Alteration Type"
    ,aea.component_name "Part No"
    ,component.description "Part No Description"
    ,component.INVENTORY_ITEM_STATUS_CODE "Part No Status"
    ,aea.AFTER_CHANGE_QTY
    ,TO_CHAR(aea.last_update_date,'DD-MM-YYYY HH24:MI:SS')"Last Update Date"
    ,aea.LAST_UPDATE_BY
    ,aea.COMMENTS
    ,aea.ORACLE_CHANGE_NOTICE
    ,AEA.SELECTION_CRITERIA
    FROM XXMEL_APEX_ECO_ALTERATIONS aea
    , fnd_lookup_values flv
    , (SELECT INVENTORY_ITEM_STATUS_CODE
    ,segment1
    ,description
    FROM mtl_system_items_b
    WHERE 1=1
    AND organization_id = 26) component
    , (SELECT INVENTORY_ITEM_STATUS_CODE
    ,segment1
    ,description
    FROM mtl_system_items_b
    WHERE 1=1
    AND organization_id = 26) assembly
    WHERE 1=1
    AND aea.COMPONENT_NAME = component.segment1 (+)
    AND aea.assembly_NAME = assembly.segment1 (+)
    AND flv.lookup_code = aea.acd_type
    AND aea.eco = :P13_ECO
    AND flv.lookup_type = 'ECG_ACTION'
    AND modify_flag = 'Y'
    ANy help would be great,
    Thanks
    Chris
    Edited by: Cashy on 22-Nov-2010 04:13
    Edited by: Cashy on 22-Nov-2010 04:14

    For some reason, the updatable fields (this is a updateable report) where not connecting to the database properly. Whn I changed them to a report columns and removed the database field reference, the report rendered

  • Chart Query and Failed to parse SQL query

    Hi,
    first of all, this is not a question. It is a reminder for me and maybe for someone with the same problem.
    I just fell over this for the 123124 time.
    I have a 3D Chart Query
    select sum(order_ok) value,
          count(*) maximum_value
    from      v_dialer_campaign
    where campaign_uuid = :P300_CAMPAIGN_IDSaving fails with
    "1 error has occurred Failed to parse SQL query!" ...
    Saving the query without validation works, but does not show any result in the chart.
    v_dialer_campaign is a view selecting from a view in a mssql db over database link and HS.
    running the select in sqlplus or toad works.
    Without any trace on freetds/unixodb/hs side, i would have not found the following line:
    [FreeTDS][SQL Server]The data types nvarchar and text are incompatible in the equal to operator.[FreeTDS][SQL Server]Statement(s) could not be prepared.
    Solution:
    with q as (select :P300_CAMPAIGN_ID val from dual)
    select     sum(order_ok) value,
         count(*) maximum_value
    from     v_dialer_campaign
    where     campaign_uuid in ( select val from q)Maybe the error output when validating the query should be included in the APEX error message.
    Same solution applies for dynamic LOV's reading from HS using a where clause.

    I tried your first query on Apex 3.2 and it created a nice dial chart.
    Is there any ORA-xxxxx error along with the "failed to parse SQL query" message? Did you double check column & table name spelling?
    P.S. The second query is invalid (a superfluous comma after the second column).

  • Deployment failed: The evaluate phase failed. The Adapter used in the evalu

    Hi All,
    I am deploying an application in Oracle Application Server ( 10.1.2.0.2) made using EJB and myfaces as the front end.
    While deploying the application i am facing the following Error.
    Deployment failed: The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoClassDefFoundError
    org/apache/commons/logging/LogFactory. org/apache/commons/logging/LogFactory
    I have all the ADF libraries in applib of OC4J. Also, i have added "jsp-el-api.jar" in the applib of OC4J, as mention in reply to similar error in the forum.
    But still i am getting the same error when i try to deploy the application.
    Please help.
    Thanks and Regards,
    Vikram singh

    The one you're missing is something like commons-logging-xxx.jar. It either needs to be included in the EAR and the MANIFEST.MF, or you can put it in app-lib with the other stuff.

  • Failed to execute MDX query. Reason: returned server error (). (IES 10901) (WIS 10901).

    Hi,
    I am trying to create a Webi report based on an OLAP Universe. I am using BI 4.1 SP01
    I did the following:
    1. I have setup a databse connection for SAP SSM via the create connection wizard in the Universe Design Tool. My connection is created sucessfully.
    2. Next I created a Universe saved it and exported it.
    3. In webi I am trying to create a report, I selected a couple of measures in the "results objects" section. In the qurey filters section I selected month.
    When I run this query, I am getting an error message: Database error: Failed to execute MDX query. Reason: returned server error (). (IES 10901) (WIS 10901).
    I tried to search for similar issues reported on SCN forums and other places and it looks like a generic error and this was not answered in some of the discussions
    Any help is very much appricated.
    Thanks
    Imtiyaz

    Hi,
    I have verified in BEx query properties, it's "allow External Access to this Query" is checked.
    I have filter in BEx query, so not need to had it to query selection again in webi report.
    Could any other solution??
    Regards,

  • RPE-01038: Failed to evaluate expression null.

    Hi, gurus! :)
    Upon executing a process flow, I got the following error message:
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression null.  Please modify the expression, redeploy and retry again.
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-02227: Cannot test Control Center user OWF_MGR. This user must match the login credentials of the evaluation location configured on owning module.
    RPE-01003: An infrastructure condition prevented the request from completing.
    java.lang.NullPointerException
    I suspect I got this error from improper use of parameters (just started using). I've searched for answers in the internet, still I am not sure how to efficiently and correctly use parameters. I'm dealing with this "literal" confusion. I would like to confirm the following:
    1. If a local parameter is an integer, how should I set the value and literal field? (say, set value to 0, literal = true?)
    2. How about for while loops? The condition is automatically a string. If I use the paramater par_loc, how should I write it (say, par_loc < 100).
    3. For Assign operators, data type is also an automatic string. What if I want to have an integer value? Or maybe an integer value thru an expression? (e.g. par_loc + 20).
    The questions above somehow summarize the activity I created.
    I'll try to do more tests and research and give you an update if I found any solution.
    Any help will be deeply appreciated. Thank you, gurus!
    Manoy :)

    Thanks, Carsten! :)
    I applied what you suggested. I still got the same error.
    1. Defined the parameter via local variable --> same error as above
    2. Defined it under start activity --> got a new error:
    RPE-02075: Oracle Workflow failed to process the execution request for Activity PF_WHILE:WHILE_LOOP. This may be because dependent objects have not yet been deployed.
    ORA-20007: The execution cannot be activated because not all required parameters have been set
    WB_RT_WORKFLOW_UTIL_10G.Execute_Any_Task(PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
    WB_RT_WORKFLOW_UTIL_10G.Execute_Task(PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
    Wf_Engine_Util.Function_Call(WB_RT_WORKFLOW_UTIL_10G.EXECUTE_TASK, PKG_WL, WB_IK_20090327_083358_51724, 12463, RUN)
    RPE-02083: Process PF_WHILE has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process
    Did I miss something? :|
    Manoy

  • Correlated and non correlated Query

    hello
    I am confuse in correlated and non-correlated query? below query is correlated or non correlated ? why?
    SELECT FIRST_NAME,LAST_NAME FROM EMPLOYEES E WHERE department_id in
    (SELECT D.DEPARTMENT_ID FROM DEPARTMENTS D WHERE D.DEPARTMENT_ID=E.DEPARTMENT_ID)
    Thanks

    (SELECT D.DEPARTMENT_ID
       FROM DEPARTMENTS D
      WHERE D.DEPARTMENT_ID=E.DEPARTMENT_ID)is a correlated subquery. There is a correlation between this query and a table in the outer query (in this case the join condition between EMPLOYEES and DEPARTMENTS).
    Justin

  • Column sort gives "failed to parse SQL query"

    Hi folks,
    I have a page with a chart and 5 reports. All report columns are sortable.
    When I first navigate to the page from a menu, the chart and all reports display correctly. Given certain query criteria, reports 2 and 4 correctly return no data, and show my polite 'no data found' message.
    If I sort report 1 or 3 or 5 by clicking a column heading, the chart and reports 1, 3 and 5 display correctly, but in report regions 2 and 4 I then get
    failed to parse SQL query:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key valueThese errors can be cleared by navigating to the page again from a menu.
    What's wrong? How can I fix it?
    I'm at 1.6.0.00.87, db 10.1.0.3.0.
    All ideas gratefully received.
    Thanks
    John D

    OK, I now have a workspace.
    I recreated the problem using page 1 of the Sample Application (app 15027).
    1 - Copy region "My Top Orders" to "My Top Orders 2" on page 1 (same display point, column 2).
    2 - Edit the SQL of "My Top Orders 2" to remove the ORDER BY clause.
    3 - Edit the columns of "My Top Orders 2" to make all columns other than ORDER_ID sortable.
    4 - Copy region "My Top Orders 2" to "My Top Orders 3" on page 1 (same display point, column 2)..
    5 - Run page 1
    6 - Click a column heading on "My Top Orders 2" and I got "failed to parse..." on "My Top Orders 3".
    BUT it's intermittent. Navigate away from page 1 then return, and you may find the error doesn't recur.
    So, what's up Doc?
    Many thanks,
    John

  • Fail to parse SQL query after report attributes changes on sample app

    This errors occurs in the sample application istalled in Workspace PMW on the http://htmldb.oracle.com web site. Goto home page, edit Page 1, Select "Top Orders" in Region, select report attributes, change max count from 5 to 5 in "Layout and Pagination", apply changes, run page and parse SQL error occurs. Select "debug" and the following is shown regarding the query.
    0.10: query could not be parsed:
    SELECT a.ORDER_ID, a.ORDER_TIMESTAMP, a.CUSTOMER_ID,
    b.cust_last_name || ', ' || b.cust_first_name cust_name, NVL(a.ORDER_TOTAL, 0)
    FROM demo_orders a, DEMO_CUSTOMERS b
    WHERE a.customer_id = b.customer_id
    ORDER BY NVL(a.ORDER_TOTAL, 0) DESC order by 5 desc,5 desc
    failed to parse SQL query:
    ORA-00933: SQL command not properly ended
    I can't see that I'm doing anything wrong but maybe someone can shed some light on this!
    Thanks

    this is sort of an oversight on our part. what's going on is that the sample app installs with that order by clause in the query. at the same time, the report attributes page for that region has a default sort sequence value of "1 desc" (even though column heading sorting isn't enabled). when you go to that page and try to apply any change, htmldb tries to set things up correctly for you...and you end up with that double order by. the best way to avoid the issue is to remove the order by clause from the query on the Region Definition page.
    hope this helps,
    raj

  • Correlated query to find cheapest manufacturer for a product

    Hi,
    I have a SQL Query that returns me:
    - the "product code" i must purchase,
    - the "quantity" to purchase for this product
    - and if it's in "promotion or not".
    Based on this result, i must to look at "manufacturer" table and find the cheapest "price" for each product to purchase and the quantity available at the manufacturer.
    If "quantity to order" (e.g. 20) is higher than "quantity available" (e.g. 12) at "cheapest manufacturer", i must order the missing quantity (8) to the next cheapest manufacturer.
    How can i do that ?
    thx

    ​Hi
    >>correlated query to find cheapest manufacturer for a product
    I have created two table [ProdTable] , [Product Code] to get the cheapeast manufacturer  for a product  which you can refer to .
    [Product Table]
    [Prod Table]
    select [ProdTable].[S_Prod_Code],Min([ProdTable].[Prod_Cost]) as MiniCost
    from [ProdTable] inner join [Product Table] on [ProdTable].[S_Prod_Code]=[Product Table].[Product Code]
    Where [Product Table].[Promotion]<>"YES"
    group by [ProdTable].[S_Prod_Code]
    Using the above query ,you can get the cheapest  cheapeast manufacturer  for a product , which the promotion is not YES
    >>for promotional products, i must firstly check if the cheapest manufacturer has enough prod in stock. If not, i order all the prod in stock the manufacturer has, and i must order to missing ones to the next cheapest manufacturer
    Are you looking for a select query or an update to the table or form design ?Can you separate your business rules with the technolege ?  So more people could understand your issues well to give you more help.
    Thanks for your understanding
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Training and Event (PE) Tables

    I would be grateful if someone could give me a copy or tell me how I can get a list of all the tables in PE - Training and Event Management. Thanks

  • Can't view all layers in Photoshop

    Hi everyone, I can't seem to view all my layers in Photoshop (using CS6 via Creative Cloud on a Mac) when I'm duplicating from another file.  I have two files usually open - my mockup file I'm working on for a UI project, and various templates files

  • Does anyone know how to upload and download files to the icloud storage?

    Well, it says i have 5g of free storage... but what good is it?  There doesn't seem to be any way to put anything there. What am I missing here?

  • ITunes 7.5 Massive Bug

    Today I upgraded my iTunes 7.3 to 7.5. Yesterday everything was fine...but now whenever I try to open iTunes...it just hangs! And I've to end that program from 'Task manager'. I'm using Windows XP Sp2. I tried several uninstallation and reinstallatio

  • Unwanted audio in burned final idvd

    Have you ever encountered this problem in iMovie/iDVD? I recently finished editing together a wedding for friends. The timeline is a simple sequence of clips with transitions and background music that I easily imported directly from itunes. When edit