Problem in invoking a BPEL process with complex input

Hi,
I have an asynchronous BPEL process which has a complex request schema. When I try to invoke the process through BPEL Console, it works properly. But when invoking it through Java API, it seems that the input soap message is not well received by the process. Here are relevant files:
*==============-BPEL file==================*
<?xml version = "1.0" encoding = "UTF-8" ?>
<process name="MapCopyProject"
targetNamespace="http://mapcopyservices/"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:ns4="http://mapcopyservices/"
xmlns:ns3="http://mapcopyservices/types/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<partnerLink name="MapCheckService" partnerLinkType="ns4:MapCheckService_PL"
partnerRole="MapCheckService_Role"/>
<partnerLink myRole="TotalBPELProcessProvider" name="TotalBPELProcess"
partnerRole="TotalBPELProcessRequester"
partnerLinkType="ns4:TotalBPELProcess"/>
<partnerLink name="MapActionService" partnerRole="MapActionService_Role"
partnerLinkType="ns4:MapActionService_PL"/>
</partnerLinks>
<variables>
<variable name="ClientInput"
messageType="ns4:TotalBPELProcessRequestMessage"/>
<variable name="ClientOutput"
messageType="ns4:TotalBPELProcessResponseMessage"/>
<variable name="CheckSourceExistance_Output"
messageType="ns4:MapCheckService_checkSourceExistanceResponse"/>
<variable name="CheckSourceExistance_Input"
messageType="ns4:MapCheckService_checkSourceExistance"/>
<variable name="GetCoordinateSystemType_Output"
messageType="ns4:MapCheckService_getCoordinateSystemTypeResponse"/>
<variable name="GetCoordinateSystemType_Input"
messageType="ns4:MapCheckService_getCoordinateSystemType"/>
<variable name="CheckSourceExistance2_Input"
messageType="ns4:MapCheckService_checkSourceExistance"/>
<variable name="CheckSourceExistance2_Output"
messageType="ns4:MapCheckService_checkSourceExistanceResponse"/>
<variable name="InvokeMapAction_Input"
messageType="ns4:MapActionService_CopyAndTransform"/>
<variable name="InvokeMapAction_Output"
messageType="ns4:MapActionService_CopyAndTransformResponse"/>
</variables>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<receive name="ReceiveInput" partnerLink="TotalBPELProcess"
portType="ns4:TotalBPELProcessInvoke" operation="initiate"
variable="ClientInput" createInstance="yes"/>
<flow name="Flow_1">
<sequence name="Sequence_1">
<assign name="Assign_3">
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:destConn"/>
<to variable="CheckSourceExistance2_Input" part="parameters"
query="/ns3:checkSourceExistanceElement/ns3:MapConnection_1"/>
</copy>
</assign>
<invoke name="Invoke_CheckSource2" partnerLink="MapCheckService"
portType="ns4:MapCheckService" operation="checkSourceExistance"
inputVariable="CheckSourceExistance2_Input"
outputVariable="CheckSourceExistance2_Output"/>
</sequence>
<sequence name="Sequence_1">
<assign name="Assign_1">
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
<to variable="CheckSourceExistance_Input" part="parameters"
query="/ns3:checkSourceExistanceElement/ns3:MapConnection_1"/>
</copy>
</assign>
<invoke name="Invoke_CheckSource" partnerLink="MapCheckService"
portType="ns4:MapCheckService" operation="checkSourceExistance"
inputVariable="CheckSourceExistance_Input"
outputVariable="CheckSourceExistance_Output"/>
</sequence>
</flow>
<switch name="CheckSourceAndDest">
<case condition="string(bpws:getVariableData('CheckSourceExistance_Output','parameters','/ns3:checkSourceExistanceResponseElement/ns3:result'))='true' and string(bpws:getVariableData('CheckSourceExistance2_Output','parameters','/ns3:checkSourceExistanceResponseElement/ns3:result'))='true'">
<empty name="Empty_1"/>
</case>
<otherwise>
<terminate name="Terminate_1"/>
</otherwise>
</switch>
<assign name="Assign_4">
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
<to variable="GetCoordinateSystemType_Input" part="parameters"
query="/ns3:getCoordinateSystemTypeElement/ns3:MapConnection_1"/>
</copy>
</assign>
<invoke name="Invoke_GetCoSysType" partnerLink="MapCheckService"
portType="ns4:MapCheckService" operation="getCoordinateSystemType"
inputVariable="GetCoordinateSystemType_Input"
outputVariable="GetCoordinateSystemType_Output"/>
<switch name="CheckPossibility">
<case condition="number(bpws:getVariableData('GetCoordinateSystemType_Output','parameters','/ns3:getCoordinateSystemTypeResponseElement/ns3:result'))=number(bpws:getVariableData('ClientInput','parameters','/ns3:TotalBPELProcessRequest/ns3:transformMapType'))">
<empty name="Empty_2"/>
</case>
<otherwise>
<terminate name="Terminate_2"/>
</otherwise>
</switch>
<assign name="Assign_7">
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
<to variable="InvokeMapAction_Input" part="parameters"
query="/ns3:CopyAndTransformElement/ns3:sourceConn"/>
</copy>
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:destConn"/>
<to variable="InvokeMapAction_Input" part="parameters"
query="/ns3:CopyAndTransformElement/ns3:destConn"/>
</copy>
<copy>
<from variable="ClientInput" part="parameters"
query="/ns3:TotalBPELProcessRequest/ns3:transformMapType"/>
<to variable="InvokeMapAction_Input" part="parameters"
query="/ns3:CopyAndTransformElement/ns3:transformMapType"/>
</copy>
</assign>
<invoke name="Invoke_MapAction" partnerLink="MapActionService"
portType="ns4:MapActionService" operation="CopyAndTransform"
inputVariable="InvokeMapAction_Input"
outputVariable="InvokeMapAction_Output"/>
<assign name="Assign_6">
<copy>
<from variable="InvokeMapAction_Output" part="parameters"
query="/ns3:CopyAndTransformResponseElement/ns3:result"/>
<to variable="ClientOutput" part="parameters"
query="/ns3:TotalBPELProcessResponse/ns3:result"/>
</copy>
</assign>
<invoke name="Invoke_CallBack" partnerLink="TotalBPELProcess"
portType="ns4:TotalBPELProcessCallback" operation="onResult"
inputVariable="ClientOutput"/>
</sequence>
</process>
*==================WSDL file of process invoke port================*
<definitions
name="TotalBPELProcess"
targetNamespace="http://mapcopyservices/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://mapcopyservices/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:tns0="http://mapcopyservices/types/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mapcopyservices/types/"
elementFormDefault="qualified" xmlns:tns="http://mapcopyservices/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<complexType name="MapConnection">
<sequence>
<element name="layerName" type="string" nillable="true"/>
<element name="connString" type="string" nillable="true"/>
<element name="mapType" type="int"/>
</sequence>
</complexType>
<element name="TotalBPELProcessRequest">
<complexType>
<sequence>
<element name="sourceConn" type="tns:MapConnection" nillable="true"/>
<element name="destConn" type="tns:MapConnection" nillable="true"/>
<element name="transformMapType" type="int"/>
</sequence>
</complexType>
</element>
<element name="TotalBPELProcessResponse">
<complexType>
<sequence>
<element name="result" type="int"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="TotalBPELProcessRequestMessage">
<part name="parameters" element="tns0:TotalBPELProcessRequest"/>
</message>
<message name="TotalBPELProcessResponseMessage">
<part name="parameters" element="tns0:TotalBPELProcessResponse"/>
</message>
     <portType name="TotalBPELProcessInvoke">
          <operation name="initiate">
               <input message="tns:TotalBPELProcessRequestMessage"/>
          </operation>
     </portType>
     <!-- portType implemented by the requester of BPELProcess1 BPEL process
     for asynchronous callback purposes
     -->
     <portType name="TotalBPELProcessCallback">
          <operation name="onResult">
               <input message="tns:TotalBPELProcessResponseMessage"/>
          </operation>
     </portType>
     <plnk:partnerLinkType name="TotalBPELProcess">
          <plnk:role name="TotalBPELProcessProvider">
               <plnk:portType name="tns:TotalBPELProcessInvoke"/>
          </plnk:role>
          <plnk:role name="TotalBPELProcessRequester">
               <plnk:portType name="tns:TotalBPELProcessCallback"/>
          </plnk:role>
     </plnk:partnerLinkType>
</definitions>
*===================JSP invoking file=====================*
<%@ page contentType="text/html;charset=windows-1252"%>
<%@page import="java.util.Map" %>
<%@page import="com.oracle.bpel.client.Locator" %>
<%@page import="com.oracle.bpel.client.NormalizedMessage" %>
<%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
<%@page import="java.util.*" %>
<%@ page import="javax.naming.Context" %>
<%@ page import="javax.naming.InitialContext" %>
<%@ page import="javax.naming.NamingException" %>
<%@ page import="javax.rmi.PortableRemoteObject" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>CopyMap</title>
</head>
<body>
     <%
try{
     String xml =
"<ns100:TotalBPELProcessRequest xmlns:ns100=\"http://mapcopyservices/types/\">"+
"<ns100:sourceConn>"+
"<ns100:layerName>1</ns100:layerName>"+
"<ns100:connString>1</ns100:connString>"+
"<ns100:mapType>1</ns100:mapType>"+
"</ns100:sourceConn>"+
"<ns100:destConn>"+
"<ns100:layerName>1</ns100:layerName>"+
"<ns100:connString>1</ns100:connString>"+
"<ns100:mapType>1</ns100:mapType>"+
"</ns100:destConn>"+
"<ns100:transformMapType>1</ns100:transformMapType>"+
"</ns100:TotalBPELProcessRequest>";
Hashtable jndi = new Hashtable();
jndi.put(Context.PROVIDER_URL, "opmn:ormi://amir:6003:oc4j_soa/orabpel");
jndi.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
jndi.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
jndi.put(Context.SECURITY_CREDENTIALS, "as123456");
Locator locator = new Locator("default","as123456",jndi);
     IDeliveryService deliveryService =
          (IDeliveryService)locator.lookupService
          (IDeliveryService.SERVICE_NAME );
     NormalizedMessage nm = new NormalizedMessage( );
     nm.addPart("payload", xml );
deliveryService.post("MapCopyProject", "initiate", nm);
     out.println( "BPELProcess MapCopyProject initiated!<br>" );
catch(Exception ex){
out.println(ex.getMessage());
ex.printStackTrace();
     %>
</body>
</html>
*===================================*
Error occurs in first assign activity like this:
*=========*
Error in evaluate <from> expression at line "97". The result is empty for the XPath expression : "/ns3:TotalBPELProcessRequest/ns3:sourceConn".
*=========*
Please tell me if you know how to solve it. Thanks

It sounds very much like a namespace issue.
As it works from the BPELConsole, fill in the values in the BPELConsole initiate page and switch from the HTML to the XML view. Copy the XML to Notepad or another suitable editor; then insert it as fixed values into the Java/JSP code and try to call the server with the hardcoded payload instead of the one you are generating.
You can also save the payload in the JSP (write it to a file or standard output) before the call; then open it in jDeveloper or Eclipse and validate it against the schema. That way you will find if the XML is invalid.
Also, check the flow in the BPELConsole. As it fails on an XPath expression you must have a process. If you click on the receive activity you can see the received payload. Again, copy that to jDeveloper or Eclipse and validate it. Also compare it to the XML you get if you initiate the process manuallly. There must be some difference.
If you still can't get it to work, post the XML from the initiate operation and from the JSP operation (as they are seen in the receive activity) and we can help you check them out!

Similar Messages

  • Issue about Invoking a BPEL Process with the Generic Java API

    I Invoking a BPEL Process with the Generic Java API and apache axis or axis2
    it turn up a error as follow:
    org.apache.axis2.AxisFault: ORABPEL-08021
    Cannot find partner wsdl.
    parnterLink "BPELProcess1" is not found in process "BPELProcess1" (revision "v2008_11_17__38943").
    Please check the deployment descriptor of the process to find the correct partnerLink name.
         at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
         at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
         at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
         at wf.Test_axis2_callws.main(Test_axis2_callws.java:41)
    i can't solve it !
    what's problem ???
    anyone use java code to invoke bpel process successfully..can show me some example?
    thanks
    chan

    Hi,
    Check below link may help you solve your problem.
    http://www.activevos.com/cec/samples/content/sample-invoke/doc/index.html
    Regards

  • Problem in invoking a BPEL process from JSP

    I've deployed HelloWorld BPEL from the samples. It's working fine from the BPEL Console. After that I created a JSP page to invoke this BPEL process. My JSP code looks like this:'
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <html>
    <head>
    <title>Invoke HelloWorld</title>
    </head>
    <body>
    <%
    String name = request.getParameter("name");
    if(name == null)
    name = "BPEL";
    System.out.println("Before XML..........");
    String xml = "<name xmlns=\"http://samples.otn.com/helloworld\">" + name + "</name>";
    System.out.println("Before Locator..........");
    Locator locator = new Locator("default","oc4jadmin");
    System.out.println("After Locator..........");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload" , xml );
    System.out.println("Before Delivery Service Post..........");
    deliveryService.post("HelloWorld", "initiate", nm);
    System.out.println( "BPELProcess HelloWorld initiated!" );
    out.println( "BPELProcess HelloWorld initiated!" );
    %>
    Please refer to the
    BPEL Console
    to see the status of the initiated HelloWorld BPEL Process.
    </body>
    </html>
    Now when I try to execute this JSP using the URL:
    http://localhost:8888/hello/invokeHelloWorld.jsp
    I am getting the following error:
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Can anyone help me out of this?
    Thanks in anticipation. Awaiting for your reply.
    Thanks & Regards

    I got it atlast. Actually I wanted application log to see the error. I found this log file(application.log) under
    <ORACLE_AS_HOME>\j2ee\home\application-deployments\hello\home_default_group_1
    I found that since this is a JSF application, i am missing the '/faces' in the URL and because of which, it was unable to find the FacesContext.
    It's working now. Thanks a lot for your support.
    Regards

  • BPEL Process with complex Business logic

    Hi,
    So far my knowledge,complex business logic can be implemented by different way in bpel process.
    1. Business rule
    2. ejb with java callout
    3.ADF BC as servcie
    Can anybody please suggest which approach do I need to follow,what are the pros and cons of each one,and best practices to use when and where?
    Thanx in advance.-Aswini

    Hi
    In addition to what Naresh already mentioned, you can consider these points also.
    1. If your process is complex, see if some part of the process can be common across and it can run by itself. Then you can use SubProcess concepts also. Say for example, if process involves credit card processing, it can be in a sub-process and you can call it in the main process. Like that any common approval flows can be put in a separate sub-process.
    2. I would discourage using Java invocations if possible as they have some limitations and you can use reasonable amout of code in invoking java code within the bpel process. If you have lots of validations to do on a bpel process, you can consider using CallBackHandlers and do the validation on a task assignment, submission or any task action in general.
    3. Business Rules can be used to control the actual flow of the process itself. Based on busiiness rule, you can decide if a set of tasks needs to be included or not in the approval flow. This is in addtion to the actual data that controls the business rules, that can be changed dynamically without the code change to core bpel process.
    Which version of SOA are you using or plan to use. I would recommend the latest version SOA 11.5 + Feature Pack applied.

  • Initiating a process with complex input

    In trying to initiate a process whose input message has a single part defined by an element like this
    <ns:copyRequest xmlns:ns="...">
    <ns:input>Some text here</ns:input>
    </ns:copyRequest>
    the HTML input form cannot be created (an error occurs). The dropdown box offers XML Form as an alternative, and there is a link in the text labelled "text form". Either of these bring up a text box for the input, but there is no way to submit the entered text (like that above). If you return to the HTML Form and submit that (empty), an exception occurs in a servlet.
    An error report is constructed, but goes to an inaccessible server at www.collaxa.com, when Send Error Report is clicked.

    Unfortunately, I don't think the problem is reproducible. It occurred after I had attempted to install the latest BPEL Designer and Process Manager over the previous version. Either I messed up the reinstall or there is something wrong with that process, since detritus left around caused various errors in both the designer and PM (of which the presentation manager error in original post in this thread was the final one) until I manually cleaned out all the remnants of the old install, including those in the temporary directories and finally got to a freshly-installed state. By this time, the problem was fixed, but I had also changed the BPEL and WSDL that caused the problem during the debugging/reinstallation process.
    I think the best course of action is to assume this was a glitch related to reinstallation and review that process to see if it can be done in a cleaner way. I'll be more careful to preserve the offending BPEL the next time.
    Thanks for your response.
    Jeff

  • Invoking a LiveCycle process with multiple input variables using REST

    Hi all,
    A simple scenario brushup:
    I have an LC process that takes as input 2 parameters:
    - formID
    - formXML
    The user starts out with an empty interactive form and fills out some info in this form. In the end he/she clicks submit and now I want to invoke my process to create a flattened form from the XML just entered in the interactive form.
    The process returns a flattened form with the data merged with the XDP template referenced in formID. Simple as that.
    What I basically need is to do something similar to the following in a LiveCycle Designer Form:
    ------------------------------------Snippet from http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8- 7fe5.html ---------------------------------------------------------------------
    <html>
    <body>
    <form name="input" action="http://localhost:9080/rest/services/RestTest3" method="post" 
             enctype="multipart/form-data">
    Doc: <input type="file" name="inDoc">
    String 1: <input type="text" name="inListOfStrings" value="hello">
    String 2: <input type="text" name="inListOfStrings" value="privet">
    <input type="submit" value="Submit"/>
    </form>
    </body>
    </html>
    ------------------------------------End snippet from http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8- 7fe5.html ---------------------------------------------------------------------
    Now my question to you is (hope you can help out here):
    How do I invoke this process from my form using the REST endpoint - I need to specify 2 input variables for my process. One string (formID) and some xml (formXML). How is this done in Designer?
    Thanks in advance
    Kim Christensen
    Dafolo A/S
    Denmark

    Bump...
    Nobody who has an idea of how to do this?
    Thanks in advance
    Kim Christenen
    Dafolo A/S
    Denmark

  • Invoking JDev bpel process from Eclipse BPEL Process?

    Is it possible to invoke a bpel process (with dbadapter) developed in JDev from a bpel process created in Eclipse (Designer)?

    I was unsuccessful.
    Scenario:
    I was trying to invoke jdev bpel process (that had a database adapter to update the database) from Eclipse bpel process (since we do not have adapters in Eclipse designer).
    The namespace wasn't known by Eclipse( some schema missing?) and therefore we couldn't compile it.

  • Web service data control with complex input parameter problem

    Hi!
    I'm making ADF web app, using JDev 11.1.1.2.0. I have to call a web service (using a data control), which has complex input parameter (array of complex objects).
    I followed steps from Susan Duncan blog: http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html , but I ran into a problem.
    As Susan wrote, I changed submit's button action binding to an operation in a managed bean, which returns array of objects and everything works fine. I can call a WS and my table shows the result.
    The problem is, that after I change button's action binding to my manage bean, row selection in result table doesn't work anymore (I allways get NullPointerException).
    What can be done here?
    Can somebody please help?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Invoke BPEL process with the webservice interface

    I'm using Oracle BPEL PM 10.1.2.x.
    Follow the example comes with the BPEL PM, i can invoke the BPEL process in a J2EE project (with the webservice interface). The example named "UseStockReviewSheet".
    Then i tried to invoke the BPEL process i designed with Eclipse BPEL Designer. The version of BPEL designer for Eclipse is 0.9.13.
    I failed and got following errors:
    09/03/17 16:55:53 com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.
    xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>变量/表达式结果为空.
    尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
    ','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
    请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
    quest/tns:input')" 非空。.
    </summary>}}
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.checkEx
    pressionFromValue(BPELAssignWMP.java:972)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFro
    mValue(BPELAssignWMP.java:504)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__execu
    teStatements(BPELAssignWMP.java:122)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:188)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3408)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1836)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:166)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM
    emory(DispatchHelper.java:252)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEng
    ine.java:5438)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(Cu
    beEngine.java:1217)
    09/03/17 16:55:53 at com.collaxa.cube.engine.delivery.DeliveryService.hand
    leInvoke(DeliveryService.java:511)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.han
    dleInvoke(CubeDeliveryBean.java:335)
    09/03/17 16:55:53 at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.
    handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.invoke.Invok
    eInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eMessage(DispatchHelper.java:125)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.
    process(BaseScheduledWorker.java:70)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage
    (WorkerBean.java:86)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenBeanInvocation.r
    un(MessageDrivenBeanInvocation.java:123)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.onMessage(M
    essageDrivenHome.java:755)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.run(Message
    DrivenHome.java:928)
    09/03/17 16:55:53 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:186)
    09/03/17 16:55:53 at java.lang.Thread.run(Thread.java:534)
    <2009-03-17 16:55:53,640> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.cli
    ent.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-proce
    ss/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>变量/表达式结果为空.
    尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
    ','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
    请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
    quest/tns:input')" 非空。.
    </summary>}}
    I can invoke my BPEL process in BPEL console, not in J2EE project. bpws:getVariableData('input','payload','/tns:CreditFlowRequest/tns:input')" is null.
    The error message contains some Chineses word. I'm new to BPEL, hope someone can give me a hint on how to solve this problem.
    Thanks a billion!
    --Sunny 2009-3-18

    Following is the java class invoking BPEL process with the webservice interface.
    package com.otn.samples;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.client.Call;
    * @version 2.0 $Date: 07-mar-2005.05:07:45 $
    * @author Copyright (c) 2004 by Oracle. All Rights Reserved.
    public class CreditFlowClient
    private static QName SERVICE_NAME;
    private static QName PORT_TYPE;
    private static QName OPERATION_NAME;
    private static String SOAP_ACTION;
    private static String STYLE;
    private static String THIS_NAMESPACE = "http://samples.otn.com";
    private static String PARAMETER_NAMESPACE = "http://samples.otn.com";
    private String location;
    static
    SERVICE_NAME = new QName(THIS_NAMESPACE,"CreditFlow");
    PORT_TYPE = new QName(THIS_NAMESPACE,"CreditFlow") ;
    OPERATION_NAME = new QName(THIS_NAMESPACE,"creditFlowRequest");
    SOAP_ACTION = "initiate";
    STYLE = "wrapped";
    public void setLocation(String location)
    this.location = location;
    public void initiate(String ssn)
    try
    /* Create Service and Call object */
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service service = serviceFactory.createService( SERVICE_NAME );
    Call call = (Call)service.createCall( PORT_TYPE );
    /* Set all of the stuff that would normally come from WSDL */
    call.setTargetEndpointAddress( location );
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
    call.setProperty( Call.OPERATION_STYLE_PROPERTY , STYLE );
    call.setOperationName(OPERATION_NAME);
    call.addParameter(new QName(PARAMETER_NAMESPACE,"ssn"), XMLType.XSD_STRING, ParameterMode.IN);
    Object[] params = new Object[1];
    params[0] = ssn;
    /* Invoke the service */
    call.invokeOneWay(params);
    System.out.println( "CreditFlow BPEL process initiated" );
    catch (SOAPFaultException e)
    System.err.println("Generated fault: ");
    System.out.println (" Fault Code = " + e.getFaultCode());
    System.out.println (" Fault String = " + e.getFaultString());
    catch (JAXRPCException e)
    System.err.println("JAXRPC Exception: " + e.getMessage());
    catch (ServiceException e)
    System.err.println("Service Exception: " + e.getMessage());
    public static void main(String[] args)
    String ssn = "12-123-126";
    String location = "http://localhost:9700/orabpel/default/CreditFlow";
    CreditFlowClient client = new CreditFlowClient();
    if(args.length == 1)
         ssn = args[0];
    else if(args.length ==2)
    location = args[0];
    ssn = args[1];
    client.setLocation( location );
    client.initiate( ssn );
    -------------------------------------------------------------------

  • Issue in invoking a BPEL process (having a DB Adapter) from ESB

    Dear All,
    I am having an issue while invoking a ESB process (Batch file mode) which inturn will call a second BPEL process which will invoke the Oracle APPS standard API ego_item_pub.process_items to create an item in Inventocry, through a DB adapter
    I am able to create the Item and API is working when I pass the input XML through the second BPEL process.
    But when invoking through the ESB process which will invoke the BPEL process, based on the polling to the batch file from the ESB. This is done through an FTP adapter in ESB.
    The Issue is that while invoking from ESB, through batch file. The PL/SQL API is throwing error from the standard API 'ego_item_pub.process_items'
    But it works fine if I invoke the BPEL process individually.
    What might be the problem for this and how can I fix this..
    Please update..
    Many thanks in advance ...

    Hi,
    We tried the same thing and it worked for us. In our scenario we had a BPEL process calling a ESB and then this ESB calling another BPEL process which inturn calls the API. I agree with James it seems more of a Data issue/or your XSD is not proper i.e the XSD that you ESB process is having. If you have created a ESB and then changed the BPEL process afterward the issue you mentioned will come. Please run the process in DEBIG mode and provide the domain.log file.
    Regards
    Sahil
    http://soab2bsahil.blogspot.com

  • Invoking a BPEL process  from java API (Urgent)

    Hi,
    I am using this java api to invoke a bpel process.
    package mypackage;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.dispatch.IDeliveryService;
    import com.oracle.bpel.client.ServerException;
    public class InvokeBpel1
    // Connect to domain “default” using password “bpel”
    // null IP address means local server
    public static void main(String args[])
    Locator locator=null;
    String xml =" <soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope\">"
    +"<soap:Header/>"
    +" <soap:Body xmlns:ns1=\"http://xmlns.oracle.com/BPELMultiplePO\">"
    +"<ns1:BPELMultiplePOProcessRequest>"
    +" <ns1:input>4686</ns1:input>"
    +" </ns1:BPELMultiplePOProcessRequest>"
    +" </soap:Body>"
    +"</soap:Envelope>";
    try
    locator = new Locator("default","bpel","10.227.5.34");
    IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request("BPELMultiplePO(v1.1)", "process", nm);
    catch (Exception e)
    e.printStackTrace();
    But it is showing following errors.----
    java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164)
         at com.evermind.naming.FilterContext.lookup(FilterContext.java:138)
         at com.evermind.naming.SubFilterContext.lookup(SubFilterContext.java:55)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:87)
         at mypackage.InvokeBpel1.main(InvokeBpel1.java:26)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:87)
         at mypackage.InvokeBpel1.main(InvokeBpel1.java:26)
    What should I do remove this problem?

    Your problem sounds like many RMI problems answered in this forum in the past, especially if the java client is not on the same container as the bpel engine.
    Usually solved with setting some environment properties like dedicated.rmicontext=true etc.
    Please search the forum history.

  • Error Invoking a BPEL process from JAVA

    Dear colleagues,
    I'm facing a error at execution time when I'm invoking a BPEL process from java. My BPEL process is in a different server than my application. BPEL is running in SOA SUITE 10.1.3.1 and my JAVA application so far is in the embebed OC4J of my Jdveloper 10.1.3.3. I've seen different post with a similiar problem, but there wasn't never a solution!. Here you have the code following by the error:
    ***************** SOURCE **************************************
    Locator locator = new Locator("default", "bpel");
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    System.out.println(deliveryService.SERVICE_NAME);
    System.out.println(deliveryService.LOCAL_SERVICE_NAME);
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request("LOAD_DB_5", "process", nm);
    ********************* ERROR ************************************
    08/07/23 17:07:21 java.lang.Exception: Fallo al crear el bean "ejb/collaxa/system/DeliveryBean"; la excepción mostrada es: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at amaos.xml.loadData.LoadXml.loadData(LoadXml.java:31)
         at amaos.view.beans.FileProcessor.fileUploaded(FileProcessor.java:159)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at amaos.view.UploadQuestionary.doFilter(UploadQuestionary.java:24)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at amaos.view.UploadQuestionary.doFilter(UploadQuestionary.java:24)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    08/07/23 17:07:21      at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
    08/07/23 17:07:21      at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
    08/07/23 17:07:21      at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
    08/07/23 17:07:21      at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
    08/07/23 17:07:21      at amaos.xml.loadData.LoadXml.loadData(LoadXml.java:31)
    08/07/23 17:07:21      at amaos.view.beans.FileProcessor.fileUploaded(FileProcessor.java:159)
    08/07/23 17:07:21      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/07/23 17:07:21      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/07/23 17:07:21      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/07/23 17:07:21      at java.lang.reflect.Method.invoke(Method.java:585)
    08/07/23 17:07:21      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
    08/07/23 17:07:21      at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
    08/07/23 17:07:21      at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
    08/07/23 17:07:21      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
    08/07/23 17:07:21      at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
    08/07/23 17:07:21      at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
    08/07/23 17:07:21      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    08/07/23 17:07:21      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    08/07/23 17:07:21      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    08/07/23 17:07:21      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    08/07/23 17:07:21      at amaos.view.UploadQuestionary.doFilter(UploadQuestionary.java:24)
    08/07/23 17:07:21      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    08/07/23 17:07:21      at amaos.view.UploadQuestionary.doFilter(UploadQuestionary.java:24)
    08/07/23 17:07:21      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    08/07/23 17:07:21      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    08/07/23 17:07:21      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    08/07/23 17:07:21      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    08/07/23 17:07:21      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    08/07/23 17:07:21      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
    08/07/23 17:07:21      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    08/07/23 17:07:21      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    08/07/23 17:07:21      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/07/23 17:07:21      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/07/23 17:07:21      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/07/23 17:07:21      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/07/23 17:07:21      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/07/23 17:07:21      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/07/23 17:07:21      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/07/23 17:07:21      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    08/07/23 17:07:21      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    08/07/23 17:07:21      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    08/07/23 17:07:21      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/07/23 17:07:21      at java.lang.Thread.run(Thread.java:595)
    Any help is welcome!
    Thanks

    Hi
    You are trying to create a locator object with default values which does not work at all times.Use Locator("default",prop) where prop is a properties object and set the values according to your environment.
    The following properties values must be set
    Properties props=new Properties();
    props.setProperty("orabpel.platform","ias_10g");
    props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url", "url value");
    props.setProperty("java.naming.security.principal","domain user name");
    props.setProperty("java.naming.security.credentials","password");
    props.setProperty("dedicated.rmicontext", "true");

  • Bpel integration- error in invoking a bpel process from workflow

    Hi Folks,
    I am following the blog https://blogs.oracle.com/practicalbpm/entry/webcenter_content_ucm_bpm_integration
    I have configured bpelprocess in ucm, and able to get the correct list of processes into UCM from SOA.
    I have written the correct code in workflow and the event is triggering. pay load values are taken correctly. But getting some error in server log as "Unable to execute bpel idocscript function obInvokeProcess". I am not able to find what could be the problem.
    Please let me know what could be root cause.
    >bpelintegration/6
    10.29 04:42:59.747
    IdcServer-40
    OracleIntegration:createLocator:{java.naming.provider.url=t3://localhost:8001/soa-infra, java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory, java.naming.security.principal=weblogic, java.naming.security.credentials=Password, dedicated.rmicontext=true}
    >bpelintegration/6
    10.29 04:43:00.062
    IdcServer-40
    invokeWebService: composite=default/Testbpel!1.0
    >bpelintegration/6
    10.29 04:43:00.273
    IdcServer-40
    invokeWebService: service name=testbpelprocess_client_ep url=http://localhost:8001/soa-infra/services/default/Testbpel!1.0*soa_8e2ceec7-5d6b-4c1f-9250-53fc5485d839/testbpelprocess_client_ep?WSDL
    >bpelintegration/6
    10.29 04:43:01.255
    IdcServer-40
    invokeWebService: operation=process
    >bpelintegration/6
    10.29 04:43:01.335
    IdcServer-40
    OracleIntegration.invokeProcess: payload xml=<client:process xmlns:client="http://xmlns.oracle.com/Webcenter_PoC/Testbpel/TestbpelProcess"><client:ID>LOCALHOST001010</client:ID><client:description>test</client:description><client:customName>test</client:customName><client:startDate/><client:endDate/></client:process>
    >bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
    Unable to execute bpel idocscript function obInvokeProcess  process id exportprocess1 intradoc.common.ServiceException: !csOBInvokeServiceError,exportprocess1,testbpelprocess_client_ep,payload,process
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at bpelintegration.OracleIntegration.invokeService(OracleIntegration.java:1111)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at bpelintegration.BpelScriptExtensions.evaluateFunction(BpelScriptExtensions.java:127)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1460)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:915)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:626)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1130)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.executeDynamicHtmlToWriter(DynamicHtmlMerger.java:2090)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1902)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1866)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.evaluateScriptEx(DynamicHtmlMerger.java:1824)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.DynamicHtmlMerger.evaluateScript(DynamicHtmlMerger.java:1811)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.prepareAndEvaluateScript(WorkflowStates.java:3109)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.executeScript(WorkflowStates.java:2643)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.evaluateScript(WorkflowStates.java:2614)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.evaluateTypedScript(WorkflowStates.java:1559)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.continueMoveToStep(WorkflowStates.java:1481)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.moveToNextStep(WorkflowStates.java:1428)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.advanceWorkflowState(WorkflowStates.java:956)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:685)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:552)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:75)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.WebViewableConverterOutput.reportDelayedConversionToWorkflow(WebViewableConverterOutput.java:560)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.WebViewableConverterOutput.doConversion(WebViewableConverterOutput.java:275)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4259)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4074)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.DocServiceHandler.docRefinery(DocServiceHandler.java:3958)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at java.lang.reflect.Method.invoke(Method.java:597)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCodeEx(Service.java:620)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCode(Service.java:593)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doAction(Service.java:564)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doActions(Service.java:560)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1347)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.executeSubServiceCode(Service.java:4110)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.executeServiceEx(Service.java:4105)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.executeService(Service.java:4089)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doSubService(Service.java:3999)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at java.lang.reflect.Method.invoke(Method.java:597)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCodeEx(Service.java:638)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCode(Service.java:593)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doAction(Service.java:564)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doScriptableAction(Service.java:4050)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at java.lang.reflect.Method.invoke(Method.java:597)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCodeEx(Service.java:638)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doCode(Service.java:593)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doAction(Service.java:564)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doActions(Service.java:560)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.executeActions(Service.java:545)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.Service.doRequest(Service.java:1974)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.ServiceManager.processCommand(ServiceManager.java:487)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1358)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1732)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at java.lang.reflect.Method.invoke(Method.java:597)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1680)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            ... 25 more
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
    Caused by: oracle.fabric.common.FabricInvocationException: java.lang.reflect.InvocationTargetException
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:178)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at bpelintegration.OracleIntegration.invokeService(OracleIntegration.java:1102)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            ... 116 more
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
    Caused by: java.lang.reflect.InvocationTargetException
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at java.lang.reflect.Method.invoke(Method.java:597)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at oracle.soa.management.internal.facade.BaseFacade$LocatorExecutionContextProxy.invoke(BaseFacade.java:82)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at com.sun.proxy.$Proxy147.executeServiceMethod(Unknown Source)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:174)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            ... 117 more
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
    Caused by: java.io.EOFException
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:827)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:761)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:958)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:899)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:215)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:177)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    bpelintegration/6
    10.29 04:43:01.465
    IdcServer-40
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    Hi Srinath, Thanks for your reply.
    I have the adf binding already, the above step you have mentioned. Please let me know if any other steps I need to do.I have followed all step given in bpel integration guide http://docs.oracle.com/cd/E21764_01/doc.1111/e16759.pdf
    Please let me give you the process I have followed. And I have 1 or 2 doubts.
    1) Copied soa folder from soa_instance to Middle\Oracle_ECM1\soa
    2) Added the path variable in setDomainEnv.sh (in Domain\bin)
    POST_CLASSPATH="${ORACLE_HOME}/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar${CLASSPATHSEP}${POST_CLASSPATH}"
    export POST_CLASSPATH
    I did not find ORACLE_HOME variable value in that file. Is this variable value is coming from outside of the file? If not what value I need to set for ORACLE_HOME.
    3) Enabled "Cross Domain Security"
    4) After enabling BpelIntegration component, guide says to do Restart SSL for ucm server. I could not do this step due to ssl is not configured for ucm.
         Skipping this step (presence of ssl) have any impact on integration?
    5) Added the line to enable invoking bpel from ucm in binding.adf
    <binding.adf serviceName="BpelProcess1" registryName="" />
    6) Added bpel process with config ID: "myBpelProcess"  in ucm.
    7) Written script to invoke using below idoc script in workflow Enter event, log I mentioned above.
    <$exec obConfigID="myBpelProcess"$>
    <$obInvokeProcess(obConfigID)$>
    I tried with below script too, but its giving error.
    <$exec obConfigID="myBpelProcess"$>
    <$executeService("ORABPEL_INVOKE_BPEL")$>
    Error Log:
    >services/3 10.30 05:23:59.418 IdcServer-447 !csUserEventMessage,weblogic,localhost!$ intradoc.common.ServiceException: !csServiceDataException,ORABPEL_INVOKE_BPEL,loadBpelConfiguration!$
    services/3 10.30 05:23:59.418 IdcServer-447 *ScriptStack ORABPEL_INVOKE_BPEL
    services/3 10.30 05:23:59.418 IdcServer-447 3:doScriptableAction,dDocName=3:doSubService,dDocName=CHECKIN_NEW_SUB,dDocName=3:docRefinery,dID=1033,dDocName=LOCALHOST001029ORABPEL_INVOKE_BPEL,dID=1033,dDocName=LOCALHOST0010293:loadBpelConfiguration,dID=1033,dDocName=LOCALHOST001029
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2173)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.buildServiceException(Service.java:2402)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.createServiceExceptionEx(Service.java:2396)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.createServiceException(Service.java:2391)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1816)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1766)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:559)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1346)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSubServiceCode(Service.java:4109)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeServiceEx(Service.java:4104)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1253)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:4099)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1460)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:915)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:626)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1130)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.executeDynamicHtmlToWriter(DynamicHtmlMerger.java:2090)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1902)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1866)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptEx(DynamicHtmlMerger.java:1824)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScript(DynamicHtmlMerger.java:1811)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.prepareAndEvaluateScript(WorkflowStates.java:3109)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.executeScript(WorkflowStates.java:2643)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.evaluateScript(WorkflowStates.java:2614)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.evaluateTypedScript(WorkflowStates.java:1559)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.continueMoveToStep(WorkflowStates.java:1481)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.moveToNextStep(WorkflowStates.java:1428)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceWorkflowState(WorkflowStates.java:956)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:685)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:551)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:75)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.WebViewableConverterOutput.reportDelayedConversionToWorkflow(WebViewableConverterOutput.java:556)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.WebViewableConverterOutput.doConversion(WebViewableConverterOutput.java:275)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4259)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4073)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.docRefinery(DocServiceHandler.java:3958)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:620)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:592)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:559)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1346)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSubServiceCode(Service.java:4109)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeServiceEx(Service.java:4104)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeService(Service.java:4088)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doSubService(Service.java:3998)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:637)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:592)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doScriptableAction(Service.java:4050)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:637)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:592)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:559)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeActions(Service.java:545)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doRequest(Service.java:1974)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceManager.processCommand(ServiceManager.java:486)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1355)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1732)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
    services/3 10.30 05:23:59.418 IdcServer-447        ... 33 more
    services/3 10.30 05:23:59.418 IdcServer-447 Caused by: intradoc.data.DataException: !syParameterNotFound,obType
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.data.DataBinder.getEx(DataBinder.java:1258)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.data.DataBinder.get(DataBinder.java:1057)
    services/3 10.30 05:23:59.418 IdcServer-447        at bpelintegration.OraBpelHandler.loadBpelConfiguration(OraBpelHandler.java:88)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.GeneratedMethodAccessor632.invoke(Unknown Source)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:620)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:593)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:560)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1347)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSubServiceCode(Service.java:4110)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeServiceEx(Service.java:4105)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1253)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:4100)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1460)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:915)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:626)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1130)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.executeDynamicHtmlToWriter(DynamicHtmlMerger.java:2090)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1902)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1866)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScriptEx(DynamicHtmlMerger.java:1824)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.DynamicHtmlMerger.evaluateScript(DynamicHtmlMerger.java:1811)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.prepareAndEvaluateScript(WorkflowStates.java:3109)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.executeScript(WorkflowStates.java:2643)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.evaluateScript(WorkflowStates.java:2614)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.evaluateTypedScript(WorkflowStates.java:1559)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.continueMoveToStep(WorkflowStates.java:1481)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.moveToNextStep(WorkflowStates.java:1428)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceWorkflowState(WorkflowStates.java:956)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:685)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:552)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:75)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.WebViewableConverterOutput.reportDelayedConversionToWorkflow(WebViewableConverterOutput.java:560)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.WebViewableConverterOutput.doConversion(WebViewableConverterOutput.java:275)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4259)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:4074)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.DocServiceHandler.docRefinery(DocServiceHandler.java:3958)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:620)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:593)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:560)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1347)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeSubServiceCode(Service.java:4110)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1222)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeServiceEx(Service.java:4105)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeService(Service.java:4089)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doSubService(Service.java:3999)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:638)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:593)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doScriptableAction(Service.java:4050)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCodeEx(Service.java:638)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doCode(Service.java:593)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doAction(Service.java:564)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doActions(Service.java:560)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.executeActions(Service.java:545)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.Service.doRequest(Service.java:1974)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.ServiceManager.processCommand(ServiceManager.java:487)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1358)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1732)
    services/3 10.30 05:23:59.418 IdcServer-447        at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
    services/3 10.30 05:23:59.418 IdcServer-447        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    services/3 10.30 05:23:59.418 IdcServer-447        at java.lang.reflect.Method.invoke(Method.java:597)
    services/3 10.30 05:23:59.418 IdcServer-447        at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    services/3 10.30 05:23:59.418 IdcServer-447        at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    services/3 10.30 05:23:59.418 IdcServer-447        at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    services/3 10.30 05:23:59.418 IdcServer-447        at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1680)
    services/3 10.30 05:23:59.418 IdcServer-447        at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    services/3 10.30 05:23:59.418 IdcServer-447        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    services/3 10.30 05:23:59.418 IdcServer-447        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

  • Invoke a bpel process from Java API

    All,
    I got an error when I tried to invoke a bpel process from java api. Can anyone help?
    I got the following errors:
    <2007-08-14 10:10:11,986> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=oracle.xml.parser.v2.XMLElement@da5c23}}
    <2007-08-14 10:10:12,158> <ERROR> <default.collaxa.cube.xml> <XMLElement__CXPM::save> ORABPEL-09219
    Cannot save element.
    An attempt to save the element "EssayScoringDetailsCollection" has failed. Because this element is not a root element and for some reason the scope has reference to this element, scope should have references ONLY to root elements.
         at com.collaxa.cube.xml.dom.XMLElement__CXPM.save(XMLElement__CXPM.java:82)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.types.bpel.CXMessageVariable__CXPM.save(CXMessageVariable__CXPM.java:182)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.persist.BaseScope__CXPM.save(BaseScope__CXPM.java:170)
         at com.collaxa.cube.engine.persist.Scope__CXPM.save(Scope__CXPM.java:97)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.serializeContext(ScopeContextSerializer.java:587)
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.toBin(ScopeContextSerializer.java:99)
         at com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.store(BaseCubeInstancePersistenceAdaptor.java:543)
         at com.collaxa.cube.engine.adaptors.olite.CubeInstancePersistenceAdaptor.store(CubeInstancePersistenceAdaptor.java:387)
         at com.collaxa.cube.engine.data.CubeInstancePersistenceMgr.store(CubeInstancePersistenceMgr.java:367)
         at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5008)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5266)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:499)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:451)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:125)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    <2007-08-14 10:10:12,158> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube engine": Cannot serialize DOM element.
    Failed to serialize the DOM element "EssayScoringDetailsCollection" to binary format. The exception reported is Cannot save element.
    An attempt to save the element "EssayScoringDetailsCollection" has failed. Because this element is not a root element and for some reason the scope has reference to this element, scope should have references ONLY to root elements.
    ORABPEL-09221
    Cannot serialize DOM element.
    I did the following in my java application:
    //create the BPEL locator object to find the BPEL process
    Locator locator = new Locator("default", "welcome1", jndi);
    //just for fun, display all the available BPEL processes
    /*for(IBPELProcessHandle ibph : locator.listProcesses()) {
    System.out.println(ibph.getProcessModel());
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    //construct the normalized message
    NormalizedMessage nm = new NormalizedMessage();
    String xml = "<ns1:PromptsCollection xmlns:ns1='http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelectPrompt'>" +
    "<ns1:Prompts>" +
    "<ns1:promptId>" pr.getPromptId()"</ns1:promptId>" +
    "<ns1:calibrated>"+pr.getCalibrated().toString()+"</ns1:calibrated>" +
    "<ns1:ibn>"+pr.getIbn()+"</ns1:ibn>" +
    "<ns1:promptType>"+pr.getPromptType()+"</ns1:promptType>" +
    "<ns1:promptsetId>"+pr.getPromptset().getPromptsetId()+"</ns1:promptsetId>" +
    "<ns1:vantagePromptId>"+pr.getVantagePromptId()+"</ns1:vantagePromptId>" +
    "<ns1:promptKey>"+pr.getPromptKey()+"</ns1:promptKey>" +
    "<ns1:holdStatusCode>"+pr.getHoldStatus()+"</ns1:holdStatusCode>" +
    "<ns1:holdEssayTotalCount>"+pr.getHoldEssayTotalCount()+"</ns1:holdEssayTotalCount>" +
    "<ns1:holdEssayCurrentCount>"+pr.getHoldEssayCurrentCount()+"</ns1:holdEssayCurrentCount>" +
    "<ns1:approvedStatus>"+pr.getApprovedStatus()+"</ns1:approvedStatus>" +
    "<ns1:rowChangeDate>"+pr.getRowChangeDate()+"</ns1:rowChangeDate>" + "<ns1:programId>1001</ns1:programId>" +
    "<ns1:programId></ns1:programId>" +
    "<ns1:characterCountMin>"+pr.getCharacterCountMin()+"</ns1:characterCountMin>" +
    "<ns1:durationMin>"+pr.getDurationMin()+"</ns1:durationMin>" +
    "<ns1:rangeFindingFlag>"+pr.getRangeFindingFlag()+"</ns1:rangeFindingFlag>" +
    "<ns1:durationFlag></ns1:durationFlag>" +
    "<ns1:characterCountMax>"+pr.getCharacterCountMax().intValue()+"</ns1:characterCountMax>" +
    "<ns1:durationMax>"+pr.getDurationMax().intValue()+"</ns1:durationMax>" +
    "<ns1:rangeCount>"+ rangeCount+"</ns1:rangeCount>" +
    "</ns1:Prompts>" +
    "</ns1:PromptsCollection>" ;
    /*String xml = "<ns1:PromptsCollection xmlns:ns1='http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelectPrompt'>" +
    "<ns1:Prompts>" +
    "<ns1:promptId>" pr.getPromptId().toString()"</ns1:promptId>" +
    "<ns1:calibrated>"+pr.getCalibrated().toString()+"</ns1:calibrated>" +
    "<ns1:ibn>"+pr.getIbn()+"</ns1:ibn>" +
    "<ns1:promptType>"+pr.getPromptType()+"</ns1:promptType>" +
    "<ns1:promptsetId>"+pr.getPromptset().getPromptsetId().toString()+"</ns1:promptsetId>" +
    "<ns1:vantagePromptId>"+pr.getVantagePromptId()+"</ns1:vantagePromptId>" +
    "<ns1:promptKey>"+pr.getPromptKey()+"</ns1:promptKey>" +
    "<ns1:holdStatusCode>"+pr.getHoldStatus()+"</ns1:holdStatusCode>" +
    "<ns1:holdEssayTotalCount>"+pr.getHoldEssayTotalCount()+"</ns1:holdEssayTotalCount>" +
    "<ns1:holdEssayCurrentCount>"+pr.getHoldEssayCurrentCount()+"</ns1:holdEssayCurrentCount>" +
    "<ns1:approvedStatus>"+pr.getApprovedStatus()+"</ns1:approvedStatus>" +
    "<ns1:rowChangeDate>"+pr.getRowChangeDate()+"</ns1:rowChangeDate>" +
    "<ns1:programId></ns1:programId>" +
    "<ns1:characterCountMin>"+pr.getCharacterCountMin()+"</ns1:characterCountMin>" +
    "<ns1:durationMin>"+pr.getDurationMin()+"</ns1:durationMin>" +
    "<ns1:rangeFindingFlag>"+pr.getRangeFindingFlag()+"</ns1:rangeFindingFlag>" +
    "<ns1:durationFlag></ns1:durationFlag>" +
    "<ns1:characterCountMax>"+pr.getCharacterCountMax()+"</ns1:characterCountMax>" +
    "<ns1:durationMax>"+pr.getDurationMax()+"</ns1:durationMax>" +
    "<ns1:rangeCount>"+pr.getRangeCount()+"</ns1:rangeCount>" +
    "</ns1:Prompts>" +
    "</ns1:PromptsCollection>" ; */
    //add the payload part to the message with the xml variable
    nm.addPart("payload", xml.trim());
    //make the call to the BPEL process
    NormalizedMessage response = deliveryService.request("UpdatePromptStatus", "process",nm);
    Map payload = response.getPayload();

    I'm getting all of the same errors, but in a slightly different situation.
    <2007-08-23 09:11:46,086> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=oracle.xml.parser.v2.XMLElement@d454cf}}
    <2007-08-23 09:11:46,633> <ERROR> <default.collaxa.cube.xml> <XMLElement__CXPM::save> ORABPEL-09219
    Cannot save element.
    An attempt to save the element "SfCaseCollection" has failed. Because this element is not a root element and for some reason the scope has reference to this element, scope should have references ONLY to root elements.
         at com.collaxa.cube.xml.dom.XMLElement__CXPM.save(XMLElement__CXPM.java:82)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.types.bpel.CXMessageVariable__CXPM.save(CXMessageVariable__CXPM.java:182)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.persist.BaseScope__CXPM.save(BaseScope__CXPM.java:170)
         at com.collaxa.cube.engine.persist.Scope__CXPM.save(Scope__CXPM.java:97)
         at com.collaxa.cube.engine.core.PersistenceService.save(PersistenceService.java:259)
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.serializeContext(ScopeContextSerializer.java:587)
         at com.collaxa.cube.engine.enc.ScopeContextSerializer.toBin(ScopeContextSerializer.java:99)
         at com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.store(BaseCubeInstancePersistenceAdaptor.java:543)
         at com.collaxa.cube.engine.adaptors.oracle.CubeInstancePersistenceAdaptor.store(CubeInstancePersistenceAdaptor.java:83)
         at com.collaxa.cube.engine.data.CubeInstancePersistenceMgr.store(CubeInstancePersistenceMgr.java:367)
         at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5008)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5266)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1771)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem(CubeEngineBean.java:306)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Did you ever find a solution to your problem?
    My situation is that I'm running a process that grabs data from a salesforce.com web service and dumps some of the data back into my local database. The process croaks after processing 850 or so records. I have also increased my PermSize memory to 512M.
    Any ideas why all of a sudden after processing that many records it would stop working?
    Thanks,
    Adam

  • Error Occured while Invoking a BPEL Process from JAVA

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    Have got the same problem. Scenario at my end is little different though.
    I am trying to invoke a BPEL process from an ESB Service.
    I am trying to look into it..
    However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
    Ashish.

Maybe you are looking for

  • How to download movie on mac via online?, how to download movie on mac via online?

    how to download movie on mac pro via online?

  • Automatic output of a Schemafile from DB-Content

    Hello everybody, is it possible to generate Schemas automatically from DB-Content? I choose a table and the schema-processor generates a schema from the table-definition and an xml-file with the content? Thanks a lot Andy

  • Line item change control

    Hello, User would like to change cost center and business area's field after the said document has been posted, via FB02.    I have check the setting for posting key and field status group, it was defined as optional.  I also maintained BSEG-KOSTL in

  • Purchased music no longer listed as "Purchased"

    Hello, I moved my music library from my internal iMac HD to an external HD. I had to reassign the music library link in the properties and add the music files back into iTunes by selecting "add to library" from the File menu. Now, even though I have

  • Duplicate LegacyDNs Exchange Migration

    We are migrating about 20,000 mailboxes and coming across some duplicate legacyDNs that are causing issues. The fix is easy enough using ADSI edit but is there a script out there that could show me any users that have the same legacyDN value so I cou