Unable to use ora:countNodes in OBPM 11g

Hi,
I have a BPM Data Object 'solutionProposal' which has the following value after picking up the response from a service call.
<?xml version="1.0" encoding="UTF-8" ?>
<solutionProposal xmlns="http://agreement.pdom.nordea.com/solutionproposal/object/v2">
<initiatedByCustomer xmlns="">53273267</initiatedByCustomer>
<solutionProposalId xmlns="">12787382</solutionProposalId>
     <!--Zero or more repetitions: -->
<tailoredPSO xmlns="">
<productServiceOfferGroupId>DEPOSIT</productServiceOfferGroupId>
<tailoredItemId>12</tailoredItemId>
</tailoredPSO>
<tailoredPSO xmlns="">
<productServiceOfferGroupId>NCL</productServiceOfferGroupId>
<tailoredItemId>12</tailoredItemId>
</tailoredPSO>
</solutionProposal>
As can be seen, "TailoredPSO" is directly defined under "SolutionProposal" and can have a repetition of 1 til 20. The schema definition is as below.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:sp="http://agreement.pdom.nordea.com/solutionproposal/object/v2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://agreement.pdom.nordea.com/solutionproposal/object/v2">
<xsd:element name="solutionProposal" type="sp:SolutionProposal"/>
<xsd:complexType name="SolutionProposal">
     <xsd:sequence>
          <xsd:element name="initiatedByCustomer" type="sp:GenericId"/>
          <xsd:element name="solutionProposalId" type="sp:GenericId"/>
          <xsd:element name="tailoredPSO" type="sp:TailoredPSO" minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TailoredPSO">
     <xsd:sequence>
          <xsd:element name="productServiceOfferGroupId" type="sp:GenericId"/>
          <xsd:element name="tailoredItemId" type="sp:GenericId"/>
     </xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="GenericId">
     <xsd:restriction base="xsd:string">
          <xsd:maxLength value="22"/>
     </xsd:restriction>
</xsd:simpleType>
</xsd:schema>
I have not been able to use ora:countNode expression in OBPM 11g (Patch Set 2) while trying to evaluate how many "TailoredPSO" element are there is the response. Any help will be appreciated.
Following are the various permutations I have tried out but all of them return a response of 1 only instead of expected 2.
ora:countNodes('solutionProposal','solutionProposal','//solutionProposal/tailoredPSO')
ora:countNodes('solutionProposal','//solutionProposal/tailoredPSO')
ora:countNodes('solutionProposal','//*:solutionProposal/*:tailoredPSO')
ora:countNodes('solutionProposal','TailoredPSO','//solutionProposal/tailoredPSO')
ora:countNodes('solutionProposal','tailoredPSO','//solutionProposal/tailoredPSO')
Nothing seems to return a value of 2.
Previously we have only used OBPM 10g and ALBPM 6.0 SP4 and there were other ways of working with this problem.
Thanks
Edited by: user9019487 on Jan 31, 2011 7:09 AM

Hi,
To access the number of nodes within a list you can do as follows:
instead of using ora:countNodes('solutionProposal','//solutionProposal/tailoredPSO') choose "simple function" instead of "XPath" and, in your case:
solutionProposal.tailoredPSO.length() will give you the size of the array you're trying to get.
Hope it helps.
Pablo

Similar Messages

  • Problem in using ora:countNodes

    Hi i am trying to poll database and receive the records using receive activity.
    later i am trying to count the number of record polled each time.
    i am using ora:countNodes function.
    But i am getting the below error :
    Error while processing xpath expression, the expression is "ora:countNodes(bpws:getVariableData('Receive_Data_receive_InputVariable','EmpCollection','/ns2:EmpCollection/ns2:Emp'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    the schema file created by the AdapterConfigurator was:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBA4GettingData" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBA4GettingData" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="EmpCollection" type="EmpCollection"/>
    <xs:complexType name="EmpCollection">
    <xs:sequence>
    <xs:element name="Emp" type="Emp" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Emp">
    <xs:sequence>
    <xs:element name="empno" type="xs:int"/>
    <xs:element name="ename" minOccurs="0" nillable="true"/>
    <xs:element name="job" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    i am trying to count the nodes of EMP ...
    Could you please tell me the solution...
    Thanks in advance
    chandra

    It should look like:
    ora:countNodes('Receive_Data_receive_InputVariable','EmpCollection','/ns2:EmpCollection/ns2:Emp')
    I typically use the expression builder to identify the element then replace the bpws:getVariableData with ora:countNodes. Works every time.

  • Unable to Count Nodes using ora:countNodes , the count is always 0

    B2B is connected to BPEL , the xsd used for the given xml is :
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="Root">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Batch">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Warehouse" type="xsd:string"/>
    <xsd:element name="BatchDate" type="xsd:integer"/>
    <xsd:element name="Revision" type="xsd:string"/>
    <xsd:element name="OnHand" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ItemCode" type="xsd:string"/>
    <xsd:element name="SOH" type="xsd:integer"/>
    <xsd:element name="Quarantine" type="xsd:integer"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Count nodes function used by me is :
    ora:countNodes('receive_InventoryReconcilliation_receive_InputVariable','body','/ns2:Root/ns2:Batch/ns2:OnHand/ns2:ItemCode')
    or
    ora:countNodes('receive_InventoryReconcilliation_receive_InputVariable','body','/ns2:Root/ns2:Batch/ns2:OnHand/ns2:ItemCode')
    I have tried using countNodes in above two ways.
    Inspite of that i always get count of nodes as 0.
    How should i resolve this issue ?
    Thanks in advance,
    Sasmit
    Edited by: Sasmit on Jun 6, 2011 6:09 AM

    Hi Sasmit...
    i was facing a same problem recently...i can see the B2B adaptor giving the file as input to my BPEL process but the count is coming as zero...then what i did was..i tried copying the value of an element in the input variable...i cannot copy the value too...So, then i figured out that when i defined the document definition in B2B console, we will be giving the XSD file right...that schema file is not in sink with the file being picked up...may be i might have done amistake while generating the XSD file for a particular document in B2B Editor...then later i created the document definition i mean the xsd file in B2B Editor and used that new XSD file in my document definition...then i could access all the data in my BPEL process...
    Just try this..,may be it helps.
    Thanks,

  • Using DB Adapter in obpm 11g

    Hi all,
    I am new to OBPM 11g. I am trying to migrate my 10g project to 11g. However, I am having difficulty in using DB adapters.
    there are few tables, from which I get different details and load the details. In 10g, I use around 4-5 queries to get the details for different attributes.
    I am not sure how to use this in OBPM 11g.
    If I am querying 5 different tables, should I use 5 different DB adapater services? Is this the right way? Is there a way to combine different queries? what is the best practice for such a situation?
    Kindly help
    thanks,
    Alice

    Hi Pavan,
    Thanks for the reply.
    Can you give me an example how I can do that?
    following is my scenario
    1) there are around 6 tables - I need to combine different queries and populate some objects
    1) select table 1 and 2 and get the details
    2) use the details obtained from previous query and get the list of values
    3) get the list of values from the previous step and sort them for specific product
    4) sort the resulted list and get details about the product using tables 5 and 6
    All the 6 tables might not have any relation with each other.
    if you can give me a sample it would be very helpful
    thanks,
    Alice

  • Problem with ora:countNodes...

    Hi i am trying to poll database and receive the records using receive activity.
    later i am trying to count the number of record polled each time.
    i am using ora:countNodes function.
    But i am getting the below error :
    Error while processing xpath expression, the expression is "ora:countNodes(bpws:getVariableData('Receive_Data_receive_InputVariable','EmpCollection','/ns2:EmpCollection/ns2:Emp'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    the schema file created by the AdapterConfigurator was:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBA4GettingData" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBA4GettingData" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="EmpCollection" type="EmpCollection"/>
    <xs:complexType name="EmpCollection">
    <xs:sequence>
    <xs:element name="Emp" type="Emp" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Emp">
    <xs:sequence>
    <xs:element name="empno" type="xs:int"/>
    <xs:element name="ename" minOccurs="0" nillable="true"/>
    <xs:element name="job" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    i am trying to count the nodes of EMP ...
    Could you please tell me the solution...
    Thanks in advance
    chandra

    Hi,
    Have you tries using the standard xpath function count(<nodeset>) instead?
    See reference: http://www.w3.org/TR/xpath#function-count.
    Usage would be something like:
    bpws:getVariableData('Receive_Data_receive_InputVariable','EmpCollection','count(/ns2:EmpCollection/ns2:Emp)')
    Hope this helps you further.
    Kind regards,
    Harm

  • Unable to use countNodes in bpel

    ora:countNodes("receiveInput_Read_InputVariable","Root-Element","/ns2:Root-Element/ns2:RootRecord")
    ora:countNodes('receiveInput_Read_InputVariable','Root-Element','/ns2:Root-Element/ns2:RootRecord')
    I want to get the no of nodes from a file by using countnodes function.
    I have tried both the above functions, but with no result.
    The result is 0, i.e it is not counting the no of nodes in a file,.,
    So any1 tell me d solution for getting the nodecount from a file

    i mostly drag/drop with the node i want to count to the expression builder so you get the bpws:getVariableData() function, and after that i change bpws to ora and getVariableData to countNodes
    works for me
    i assume the RootRecord is the array-element ?

  • I have an error ora-04031 on XE 11g

    hello,
    I have an error ora-04031 on XE 11g
    When I restart DB, this error is fixed.
    Can I set any parameter(SHARED_POOL_SIZE) to fixed this error?
    OS:win 2003 server
    ora-00604: error occurred at recursive SQL level 1
    ora-04031: unable to allocate 4064 bytes of shared memory ("shared pool","select t.rowcnt, t.blkcnt, t...","sga heap(1,0)","kglsim heap")

    Hello,
    Can I set any parameter(SHARED_POOL_SIZE) to fixed this error?There actually is a parameter, but in 11g XE it's not effective by default because Automatic Memory Management (AMM) is activated. AMM tries to tune the different memory parameters to achieve best performance for all activities in the database.
    You can disable automatic memory management, but I'd not recommend to do that unless you really know what you do.
    In your case, I'd start to investigate if a perticular query is causing that issue and you might be able to tune it, so it needs less memory. A second step would be to check whether your instance is already using the 1 GB you can have in XE. To find out, run the following query
    select * from v$parameter where name in ('memory_target', 'sga_target','sga_max_size','pga_aggregate_target');The parameters for AMM would be memory_target and memory_max_target where memory_target is the effecitve maximum amount of memory used by XE. If it's not enabled (set to 0), the other three might be effecitve.
    To increase the value for memory_target you can run
    alter system set memory_target=<size>M;where +<size>M+ would be the amount of memory in megabytes. As mentioned before, you can assign a maximum of 1 GB and not more than you've defined in the memory_max_target parameter. To increase that value, you need to run
    alter system set memory_max_target=<size>M scope=spfile;and restart your database before you can alter memory_target to a higher value.
    BTW: For further investigation you don't need to restart the database to reset the shared pool: You can do this by issuing the following command
    alter system flush shared_pool;If this all doesn't help, I'd recommend to dig in deeper into memory management of the Oracle Database. But let's start with first steps first.
    -Udo

  • Unable to use the Logo Image

    Hi all,
    I want to use Logo Image at the Title of a report. But the problem is i am unable to use this .jpg file in Title Logo.
    I have copied the desired jpg in these two locations :
    OracleBI\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
    OracleBI\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images.
    Also i have restarted the Services .Then also i am unable to see the image file .
    Here i have used the same process in our development server and it's working without any issues. I have done the same changes on my QA Server, but it's not working on QA.QA Server is 2 node Clustered environment.
    Any help is Appreciated.
    Thanks
    Rondo.

    You should be creating and deploying your own application for skin/style customisations, not amending images in-place. See docs:
    - http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages
    - http://www.oracle.com/technetwork/middleware/bi/customizing-oracle-biee-11g-176387.pdf

  • Unable to use ref cursor as a input parameter at the time of inserting reco

    Hi
    i am unable to use ref cursor when inserting the data to oracle 11g from visual studio 2008. please help me as early as possible my code is bellows
    using System;
    using System.Collections;
    using System.Configuration;
    using System.Data;
    using System.Linq;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Xml.Linq;
    using System.Web.Configuration;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public partial class App_frmTest : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    protected void btnClick_Click(object sender, EventArgs e)
    OracleCommand cmd=new OracleCommand();
    Data objdata = new Data();
    int i = 0;
    string constr = "Data Source=Cwc;User Id=scott; Password=tiger;";// enlist=false; pooling=false;
    OracleConnection con = new OracleConnection(constr);
    /*Connection Open*/
    con.Open();
    cmd.Connection = con;
    /*Connection Open End*/
    /*Select Through Ref Cursor*/
    cmd.CommandText = "scott.TEST_USER.getUSER";
    cmd.CommandType = CommandType.StoredProcedure;
    OracleParameter p_rc = cmd.Parameters.Add("p_rc", OracleDbType.RefCursor, DBNull.Value, ParameterDirection.Output);
    OracleParameter p_rc1;
    if (TextBox1.Text == "")
    p_rc1 = cmd.Parameters.Add("p_rc", OracleDbType.Int16, DBNull.Value, ParameterDirection.Input);
    else
    p_rc1 = cmd.Parameters.Add("p_rc", OracleDbType.Int16, Convert.ToInt16(TextBox1.Text), ParameterDirection.Input);
    // OracleParameter p_rc1 = cmd.Parameters.Add("p_rc", OracleDbType.Int16, 2, ParameterDirection.Input);
    OracleDataReader reader = cmd.ExecuteReader();
    DataSet ds = new DataSet();
    DataTable dt1 = new DataTable();
    dt1.Load(reader);
    ds.Tables.Add(dt1);
    GridView1.DataSource = ds;
    GridView1.DataBind();
    cmd.Parameters.Clear();
    con.Close();
    con.Dispose();
    OracleCommand cmd1 = new OracleCommand();
    OracleConnection con1 = new OracleConnection(constr);
    con1.Open();
    cmd1.Connection = con1;
    cmd1.CommandText = "scott.TEST_USER.ADDUSER";
    cmd1.CommandType = CommandType.StoredProcedure;
    OracleParameter P_ADDUSER = cmd1.Parameters.Add("P_ADDUSER", OracleDbType.RefCursor, DBNull.Value, ParameterDirection.Input);
    cmd1.ExecuteNonQuery(); // i am getting error when executing this line
    Server Error in '/CWC' Application.
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Source Error: 
    Line 77: OracleParameter P_ADDUSER = cmd1.Parameters.Add("P_ADDUSER", OracleDbType.RefCursor, DBNull.Value, ParameterDirection.Input);
    Line 78: //OracleParameter P_MSG = cmd.Parameters.Add("P_MSG", OracleDbType.Varchar2, DBNull.Value, ParameterDirection.Output);
    Line 79: cmd1.ExecuteNonQuery();
    Line 80:
    Line 81: DataTable dt = new DataTable();
    Source File: d:\CWC\App\frmTest.aspx.cs    Line: 79 
    Stack Trace: 
    [AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
    Oracle.DataAccess.Client.OpsSql.ExecuteNonQuery(IntPtr opsConCtx, IntPtr& opsErrCtx, IntPtr& opsSqlCtx, IntPtr& opsDacCtx, IntPtr opsSubscrCtx, Int32& isSubscrRegistered, Int32 bchgNTFNExcludeRowidInfo, Int32 bQueryBasedNTFNRegistration, Int64& query_id, OpoSqlValCtx*& pOpoSqlValCtx, String pCommandText, IntPtr& pUTF8CommandText, IntPtr[] pOpoPrmValCtx, String[] ppOpoPrmRefCtx, OpoMetValCtx*& pOpoMetValCtx, Int32 prmCnt, Int32 bFromPool) +0
    Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery() +4731
    App_frmTest.btnClick_Click(Object sender, EventArgs e) in d:\CWC\App\frmTest.aspx.cs:79
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

    Hi;
    Its better to ask it at visual studio forum site:http://social.msdn.microsoft.com/Forums/en-US/category/visualstudio
    Regard
    Helios

  • How to polulate data from lookup using request dataset in OIM 11g

    Hi,
    Using Request dataset in OIM 11g, I need to display one dropdown with the roles those need to come from Lookup.
    For Ex; I have 2 resources,i.e Resource A and Resource B. Resource A has 5 roles and Resource B has 3 Roles.
    While creating a request, If I select Resource A, then I should be able to get 5 Roles and if I select Resource B then I should be able to see corresponding 3 roles.
    Pls. note I have only one Look up definition , where I have roles for both Resource A and B.
    I have done simillar thing in OIM 10g , however I am unable to do it using OIM 11g Request dataset.
    Pls suggest.

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • Write data to a file in OBPM 11g

    How to write data to a file in OBPM 11g?
    I want to capture all the data from the begin of an instance through the end. Please let me know how to do it.
    Thanks in advance..

    Hi Dharwat,
    Thanx for your answer. That class you mentioned needs an instream and an outstream. I have only an outstream.
    My program produces a normal ascii report data, but i must write into a file in UTF-16 format (that's what the customer want
    I know also class CL_ABAP_CONV_OUT_CE, but i don't know how to use it for an UTF-16 output.
    I hope someone can expain me very clearly how it works for an UTF-16 together with the open dataset statement.
    Thanx anyway.
    Gr., Frank
    Edited by: F. Bernsen on Nov 17, 2008 12:46 PM

  • Is there any restriction to use ora:getFaultAsString() ??

    Hi All,
    I am using Jdev and SOA 11.1.1.2
    I have a process and in that I am using a transforation.
    I have tested below scenarios:
    1) We have a dateconversion function, and i passed in correct value to that function so it got faulted and throws subLanguage Exception.
    2)I have given wrong DVM name, so again it got faulted and throws subLanguage Exception.
    3)I defined an XSL variable and used that in another template without passing, so it got faulted and throws subLanguage Exception.
    4)I used a substring function without giving starting and ending indexes..so it got faulted and throws subLanguage Exception.
    I have a catchAll and in that i am sending notification and in that notification i am using conact('CustomInfo',ora:getFaultAsString())
    I found that except in 4th scenario in all scenarios ora:getFaultAsString() is returning null .(Even for 1,2,3, scenarios it is giving javax.xml.transform.TransformerException and for 4th scenario itis giving Fatal Error)
    I am giving errors returned below
    SubString Error(Successful)
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: XML-22900: (Fatal Error) An internal error condition occurred..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    DVM Error
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 441,
    Column 233>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException:
    Unable to locate DVM "oramds:/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm"
    The Exception is "MDS-00013: no metadata found for metadata object "/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm""
    Please ensure the DVM exists at the location specified.'.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    Date Format Error
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 135,
    Column 196>: XML-22044: (Error) Extension function error: Error invoking 'convertFormattedDttmToXSDDttm':'java.text.ParseException:
    Unparseable date: "10/17/201114:52:25"'.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    When a XSL variable is out of scope
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException:
    <Line 52, Column 50>: XML-22031: (Error) Variable not defined: 'Param'..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>Is there any restriction to use ora:getFaultAsString()
    Please guide me
    Regards
    PavanKumar.M

    Hi Pavan ,
    We frequently observe the following error in our logs:
    <Feb 11, 2011 11:12:50 AM CET> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <BPEL1AssignWMP
    ORABPEL-09500
    XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_CustomerPartyListABMReqMsg_to_CustomerPartyEBMReqMsg.xsl',bpws:getVariableData('SyncCustomerPartyListReqMsg','SyncCustomerPartyList'),bpws:getVariableData('params')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 15, Column 98>: XML-22031: (Error) Variable not defined: 'endIndex'..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    Can you please share ..how you resolved it?
    Regards,
    Shagufta
    Edited by: 830719 on Feb 11, 2011 2:34 AM

  • Query Regarding Compatibility of OBPM 11g Suite with Windows 8 Operating System

    Dear Members,
    I want to know if Oracle BPM 11g suite is compatible with Windows 8 Operating System or shall I go for a Windows 7 OS?
    Will  I be able to install JDeveloper on a Windows 8 system and other components related with OBPM 11g Suite .
    If anyone is using OBPM 11g in Windows 8 PC please share your experience.
    Thanks,
    Binay

    So far the official certification matrix does not include Windows 8. Have a look under http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls.
    Regards, Danilo

  • Why should we upgrade to OBPM 11g?

    Hi all,
    I am currently using OBPM 10g. Since OBPM 11g is the latest version, I would like to upgrade to 11g but from end user perspective what are the advantages of using OBPM 11g.
    These are the questions I have regarding OBPM 11g. Can you help me with the answers? (I am new to 11g)
    1) Why OBPM 11g is better that 10g while it doesnt provide easy migration option (from 10g)?
    2) what are the advantages end user will see after we upgrade to 11g?
    3) What are the extra features available in OBPM 11g?
    4) What is the difference in performance ? Can OBPM projects accomodate 10,000+ users?
    5) what are the criteria we should look before migrating (apart from business requirements)?
    Thanks,
    Alice

    Difference between oracle bpm 10g and 11g
    How to migrate bpm 10g to bpm 11g

  • Getting organizational unit with API in OBPM 11g

    Hi all,
    I'm not able to find the way to get the organizational unit of a participant using the OBPM 11g API. Can anyone tell me how can I do that?

    Organizational Unit API was included in 11.1.1.5 FP4 - see : http://www.oracle.com/technetwork/middleware/soasuite/documentation/11gr1ps4featurepackdoc-462677.html and download BPM Java API Reference. Within the download you will find oracle.bpm.services.organization.IBPMOrganizationService interface that contains method getOrganizationalUnitForUser which should do the job.
    For the process there is an XPath method bpm:getUserOrganizationUnit() that according to documentation:
    "Returns the fully qualified organization unit name with the parent hierarchy The signature of this function is bpm:getUserOrganizationUnit(userName, realmName, parentPath). The arguments to the function: 1) userName - a user name 2) realmName - The realm name. This is optional and if not specified default realm is assumed 2) parentPath - This is optional and if sepcified, would be used for resolving conflicts if the user belongs to more than one organizational unit. For example if user belongs to OUs americas/north/us/NY/sales and americas/taskforce/globalsales then americas/north or americas/north/us or americas/north/us/NY can be used as parent path. Note that longer the path, more efficient it is to search."

Maybe you are looking for