BPEL Test waits forever to receive callback from human task service

Hi,
I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
I've attached both files and highlighted the relevant sections. Thanks.
testbpel.bpel
<process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
xmlns:client="http://xmlns.oracle.com/testbpel"
xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:testbpel"
myRole="testbpelProvider" partnerRole="testbpelRequester"/>
<partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
partnerLinkType="ns5:execute_pptLT"/>
<partnerLink name="CreditCardService"
partnerRole="CreditCardServiceProvider"
partnerLinkType="ns6:CreditCardService"/>
<partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
partnerRole="TaskService"
partnerLinkType="taskservice:TaskService"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<!-- Reference to the message that will be sent back to the requester during callback -->
<variable name="inputVariable"
messageType="client:testbpelRequestMessage"/>
<variable name="outputVariable"
messageType="client:testbpelResponseMessage"/>
<variable name="n" type="xsd:integer"/>
<variable name="Invoke_ShipmentService_execute_InputVariable"
messageType="ns5:orderRequest_request"/>
<variable name="paymentFault"
messageType="client:testbpelFaultMessage"/>
<variable name="ApproveOrder_1_globalVariable"
messageType="taskservice:taskMessage"/>
<variable name="orderRejectedFault"
messageType="client:testbpelFaultMessage"/>
</variables>
<faultHandlers>
<catchAll>
<sequence name="Sequence_6">
<throw name="Throw_AllFaults"
faultName="ns8:testbpelGenericFault"
faultVariable="paymentFault"/>
</sequence>
</catchAll>
</faultHandlers>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
<receive name="receiveInput" partnerLink="client"
portType="client:testbpel" operation="initiate"
variable="inputVariable" createInstance="yes"/>
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<scope name="CheckForApproval">
<sequence name="Sequence_4">
<sequence name="Sequence_5">
<scope name="ApproveOrder_1"
xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
wf:key="ApproveOrder_1_globalVariable">
<bpelx:annotation>
<bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
</bpelx:annotation>
<variables>
<variable name="initiateTaskInput"
messageType="taskservice:initiateTaskMessage"/>
<variable name="initiateTaskResponseMessage"
messageType="taskservice:initiateTaskResponseMessage"/>
</variables>
<correlationSets>
<correlationSet name="WorkflowTaskIdCor"
properties="taskservice:taskId"/>
</correlationSets>
<sequence>
<assign name="ApproveOrder_1_AssignTaskAttributes">
<copy>
<from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
</copy>
<copy>
<from expression="number(3)"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:priority"/>
</copy>
<copy>
<from>
<payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
</from>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:payload"/>
</copy>
</assign>
<assign name="ApproveOrder_1_AssignSystemTaskAttributes">
<copy>
<from expression="ora:getInstanceId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
</copy>
<copy>
<from expression="ora:getProcessId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
</copy>
<copy>
<from expression="ora:getProcessId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
</copy>
<copy>
<from expression="ora:getProcessVersion()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
</copy>
<copy>
<from expression="ora:getDomainId()"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
</copy>
<copy>
<from expression="string('BPEL')"/>
<to variable="initiateTaskInput"
part="payload"
query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
</copy>
</assign>
<invoke name="initiateTask_ApproveOrder_1"
partnerLink="TaskService"
portType="taskservice:TaskService"
operation="initiateTask"
inputVariable="initiateTaskInput"
outputVariable="initiateTaskResponseMessage">
<correlations>
<correlation initiate="yes"
set="WorkflowTaskIdCor"
pattern="in"/>
</correlations>
</invoke>
*<receive name="receiveCompletedTask_ApproveOrder_1"*
partnerLink="TaskService"
portType="taskservice:TaskServiceCallback"
operation="onTaskCompleted"
variable="ApproveOrder_1_globalVariable"
createInstance="no">
*<correlations>*
*<correlation initiate="no"*
set="WorkflowTaskIdCor"/>
*</correlations>*
*</receive>*
</sequence>
</scope>
<switch name="taskSwitch">
<case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
<bpelx:annotation>
<bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
</bpelx:annotation>
<sequence>
<assign name="AssignOrderRejected">
<copy>
<from expression="string('Order rejected by manager')"/>
<to variable="paymentFault"
part="payload"
query="/client:testbpelProcessFault/client:status"/>
</copy>
</assign>
<throw name="ThrowOrderRejected"
faultName="ns9:orderRejectedFault"
faultVariable="orderRejectedFault"/>
</sequence>
</case>
<case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
<bpelx:annotation>
<bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
</bpelx:annotation>
<sequence>
<empty name="Empty_1"/>
</sequence>
</case>
<otherwise>
<bpelx:annotation>
<bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
</bpelx:annotation>
<sequence>
<empty name="Empty_2"/>
</sequence>
</otherwise>
</switch>
</sequence>
</sequence>
</scope>
<scope name="CheckCreditCard">
<variables>
<variable name="InvokeCreditCardService_process_InputVariable"
messageType="ns6:CreditCardServiceRequestMessage"/>
<variable name="InvokeCreditCardService_process_OutputVariable"
messageType="ns6:CreditCardServiceResponseMessage"/>
</variables>
<sequence name="Sequence_2">
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload"
query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
<to variable="InvokeCreditCardService_process_InputVariable"
part="payload"
query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
</copy>
</assign>
<scope name="Scope_1">
<compensationHandler>
<sequence name="Sequence_7">
<empty name="Empty_3"/>
</sequence>
</compensationHandler>
<invoke name="InvokeCreditCardService"
partnerLink="CreditCardService"
portType="ns6:CreditCardService" operation="process"
inputVariable="InvokeCreditCardService_process_InputVariable"
outputVariable="InvokeCreditCardService_process_OutputVariable"/>
</scope>
<switch name="CheckCreditCardValid">
<case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
<sequence name="Sequence_3">
<assign name="AssignCreditFault">
<copy>
<from expression="string('Invalid credit card number')"/>
<to variable="paymentFault" part="payload"
query="/client:testbpelProcessFault/client:status"/>
</copy>
</assign>
<throw name="ThrowCreditFault"
faultName="ns7:CreditCardNumberFault"
faultVariable="paymentFault"/>
</sequence>
</case>
</switch>
</sequence>
</scope>
<assign name="AssignInitial">
<copy>
<from expression="string('Select Manufacturer')"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:result"/>
</copy>
<copy>
<from expression="1"/>
<to variable="n"/>
</copy>
<copy>
<from expression="0.0"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:price"/>
</copy>
</assign>
<while name="While_1"
condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
<sequence name="Sequence_1">
<assign name="DoCalculation">
<copy>
<from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
<to variable="outputVariable" part="payload"
query="/client:testbpelProcessResponse/client:price"/>
</copy>
<copy>
<from expression="bpws:getVariableData('n') + 1"/>
<to variable="n"/>
</copy>
</assign>
</sequence>
</while>
<assign name="Transform_2">
<bpelx:annotation>
<bpelx:pattern>transformation</bpelx:pattern>
</bpelx:annotation>
<copy>
<from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
<to variable="Invoke_ShipmentService_execute_InputVariable"
part="orderRequest"/>
</copy>
</assign>
<invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
portType="ns5:execute_ppt" operation="execute"
inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
<invoke name="callbackClient" partnerLink="client"
portType="client:testbpelCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</process>
CreditCardInvalidTest.xml
<BPELTest processName="testbpel"
xmlns="http://xmlns.oracle.com/bpel/instancedriver"
xmlns:client="http://xmlns.oracle.com/testbpel">
<initiate operation="initiate">
<inboundMessage>
<part fileName="testInput.xml" name="payload"/>
</inboundMessage>
</initiate>
<activityDriver name="callbackClient">
<assertValue variableName="outputVariable" partName="payload"
comparisonMethod="string" fatal="false" patternMatch="false">
<message>Expected "Select Manufacturer"</message>
<actualPath>/client:testbpelProcessResponse/client:result</actualPath>
<expected>Select Manufacturer</expected>
</assertValue>
<assertValue variableName="outputVariable" partName="payload"
comparisonMethod="string" fatal="true" patternMatch="false">
<message>Expected price of "1"</message>
<actualPath>/client:testbpelProcessResponse/client:price</actualPath>
<expected>1</expected>
</assertValue>
</activityDriver>
*<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
*<emulate duration="PT">*
*<inboundMessage>*
*<part fileName="approverResponse.xml" name="payload"/>*
*</inboundMessage>*
*</emulate>*
*</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
<activityDriver name="InvokeCreditCardService">
<emulate duration="PT">
<inboundMessage>
<part fileName="creditCardServiceResponse.xml" name="payload"/>
</inboundMessage>
</emulate>
</activityDriver>
<activityDriver name="initiateTask_ApproveOrder_1">
<emulate duration="PT">
<inboundMessage>
<part fileName="getApproval.xml" name="payload"/>
</inboundMessage>
</emulate>
</activityDriver>
</BPELTest>

RaviKiran,
I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
The problem for my understanding is that some of those behaviors were not so cleared until now.
Arik

Similar Messages

  • Test waits forever for a callback from a human task

    Hi,
    I've create a test to test a BPEL process. Now within the BPEL process there is a call to a human task service. I've emulated the task initiation message which is fine. I also tried to emulate the receive message from the human task service but during the test execution, the test waits forever to receive the callback from the human task service, even though i've specified the return message. Would appreciate help with this! I've posted my testbpel.bpel and the test case (CreditCardInvalidTest.xml) below. For both these files I've highlighted in bold the relevant bits of code that's giving me problems. Thanks
    testbpel.bpel:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>* </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml:
    <?xml version='1.0' encoding='utf-8'?>
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    Hi hi, on a hunch I previewed the page in the browser, and copy pasted the faces/untitled1 portion of the URL there and pasted on the http://<server_address>:8001/BasicAPPDemo_Root therefore ending with http://<server_address>:8001/BasicAPPDemo_Root/faces/untitled1 and lo and behold I saw the little text box saying "Hello World" ;D
    So with that i escalated, switched to the application where the page from BPM was located, deployed it and did the same trick.
    But it borked it gave this error:
    JBO-29115 Unable to construct the error message due to error java.lang.NullPointerException. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-.
    I figured that the Default generation could be faulty so i created a new page and only recycled the data controls, created everything in read mode, just to test and deployed, when i tested, i was optimistic as the 1st tab didn't had any error (also does not have anything related to the HumanTask, even the data controls) the problem was in the other tabs as I show here.
    Many thanks sirs, and sorry for wasting thy time.

  • BizTalk 2013 SB-Messaging Adapter: Unable to receive messages from a Azure service bus Subscription

    Hi,
    I am trying to receive messages from a Azure service bus subscription using SB-Messaging Adapter in BizTalk Server 2013 but getting the following error.
    "The token provider was unable to provide a security token while accessing 'https://overcasb-sb.accesscontrol.windows.net/WRAPv0.9/'.
    Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209)
    It seems the error is related with Service Bus Authentication and Authorization with the Access Control Service. Can anybody help me out if I am missing something here? 
    Also for consuming the AWSB (namespace, topic name, subscription name, Issuer name, Issuer Key) I have referred the following link
    http://soa-thoughts.blogspot.in/2013/02/biztalk-server-2013-new-adapters-series.html
    Thanks!
    Regards,
    Gautam
    gautam

    Hi,
    When I am trying to receive the same messages from a Azure service bus subscription using .net (C#) client,
    BusSubscriberbusSubscriber =
    newBusSubscriber("TestTopic2",
    "Endpoint=sb://overcasb.servicebus.windows.net/;SharedSecretIssuer=owner;SharedSecretValue=wqYlT4yHZimeUZacH+1V1hj/ZrKu7zK9ELaaLYDxqjc=",
    "AssetMovement",
    "AssetMovement");
    I am getting the same error here also.
    "The token provider was unable to provide a security token while accessing 'https://overcasb-sb.accesscontrol.windows.net/WRAPv0.9/'.
    Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209)
    By setting  <defaultProxy useDefaultCredentials="true" /> in appconfig, I got rid of the above error. And now its working fine with .net(C#) client.
    <configuration>
      <system.net>
        <defaultProxy useDefaultCredentials="true" />
      </system.net>
    </configuration>
    The same setting I tried in BTSNTSvc.exe config file and ofcourse restarted the host instance but still getting the same error. Any help?
    gautam

  • CAN I RECEIVE MESSAGE FROM MY CELLULAR SERVICE PROVIDER IN MY iPAD MINI CELLULAR ?

    Hi Using iPad,
    Can I receive message from my cellular service provider in my iPad mini cellular?

    I Picked This Username wrote:
    Be aware though..
    If you send an iMessage to an iPhone that isn't using WiFi, they will be charged for receiving the message..
    The same goes with the iPad sending the message: if you are not using WiFi..
    That is incorrect. No cell carrier charges for a message sent by and received by iMessage other than any relevant data charges. The carrier doesn't even know the message is any different from an email message or any other standard Internet traffic. Only if the iPhone was not set up to iMessage and hence receives the message via SMS would there perhaps be a charge, and that will depend on the cell plan. The iPad cannot receive messages via SMS at all so there will never be a charge.
    Regards.

  • How to edit task form generated from human task (.jspx)???

    I created simple SOA application with simple Human task (from this tutorial http://redstack.wordpress.com/2010/01/08/human-workflow-in-11g/ but it doesnt matter) in JDeveloper. Then I generated standard form from human task (Human task -> Auto-Generate Task Form).
    The question is, how to make own form? Not the generated default, but with my own logic...That form is jspx, not jsp, and thats the main problem, in this JDeveloper everything is a bit complicated.
    I tried delete whole generated content, and just import my created file.jsp into jspx like below, but without result. How to import jsp into jspx? I dont want to completely rewrite my existing jsp into jspx and copy it over default...
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:wf="http://xmlns.oracle.com/bpel/workflow/workflow-taglib.tld"
    xmlns:wlc="http://xmlns.oracle.com/bpel/workflow/worklist">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    *<jsp:directive.include file="file.jsp"/>*
    </jsp:root>
    Edited by: [email protected] on 8.6.2010 9:47
    Edited by: [email protected] on 8.6.2010 9:47
    Edited by: [email protected] on 8.6.2010 9:48

    Hi,
    Try
    FacesContext context = FacesContext.getCurrentInstance();
    NavigationHandler handler = context.getApplication().getNavigationHandler();
    handler.handleNavigation(context, null, outcome);
    context.renderResponse();Regards,
    ~ Simon

  • Cannot use jstl tag for jsp page which generated from Human Task

    Hi
    Plz help me.
    I have tried to using jstl in jsp which generate from Human Task and I deploy it to server( by ant on Jdev ) to see task detail in Oracle Worklist application. But when i submit task and then I access to worklist to see task detail, the error has show in page that "OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message. " .
    I access server to see application.log to see error and I see error show "workflowform: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: /Header1.jsp: Line # 3, <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> "
    How do I fix this error?
    PS. I tried to us jstl because I need to connet to database which jstl tag(sql) if somebody has another solution for connect database in task detail page, Please help suggest me.
    Thanks
    user520932

    Is the jstl tag libray loaded in the appsserver?
    Can you use jdbc connection like
    DataSource ds = ic.lookup("java:comp/env/jdbc/myDB");
    Connection con = ds.getConnection();
    DataSource ds = (DataSource) org.apache.derby.jdbc.ClientDataSource()
    ds.setPort(1521);
    ds.setHost("localhost");
    ds.setUser("APP")
    ds.setPassword("APP");
    Connection con = ds.getConnection();
    http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html

  • Unable to receive message from an Asynchronous service - BPEL

    Hi
    I had developed a simple asynchronous BPEL Composite that takes in two parameters(firstName, lastName) and returns back fullName.
    I had used a wait activity(for 30 seconds) in the BPEL , after which the two inputs are concatenated, and returned finally. I could test this successfully thru EM, and check the response in the Flow Trace.
    The problem is occuring when I'm using this async service in another BPEL.
    In another BPEL(which is synchronous), i wanted to use this service, so I used an invoke activity to invoke it, and receive activity to get the response.
    But, I'm not getting the final response. Instead, getting the following error after some time(defenitely longer than 30 seconds which is the wait for the async service. Trace given at last)
    I think the problem is with the correlation of the response with the req, but the documentation says correlation is automatically enforced with ws-addressing and no need to correlate seperately. So, I haven't done anything extra for correlation. I tried with both transaction properties of BPEL (required and requiresNew), but none could solve. Please help me in this
    I checked the flow trace, and it is stopping after the async service invocation activity.
    Here is the BPEL Flow Trace
    ReceiveAsyncResp (pending)
    Waiting for the expiry time "9/20/12 4:55 PM".
    Waiting for "callback" from "FullNameAsyncService". Asynchronous callback.
    The transaction was rolled back. The work performed for bpel instance "310002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.The transaction was rolled back. The work performed for bpel instance "310002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message
    Here is the log message(highlighted for easy readability)
    [2012-09-20T16:53:33.718+05:30] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.tenant] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [component_instance_id: 310002] [component_name: BPELProcessForAsyncUsage] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] NM or Event does not contain property, apps.context.header or fabric.enterpriseId
    [2012-09-20T16:54:19.453+05:30] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.delivery] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] No response found for the reply for conversation id urn:9B8F42F0031511E2BFF01541EF21AC0F
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] Message Type is normalized, exiting agent.processFault()
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] Message Type is normalized, exiting agent.processFault()
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.tenant] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] NM or Event does not contain property, apps.context.header or fabric.enterpriseId
    [2012-09-20T16:54:20.312+05:30] [soa_server1] [ERROR] [OWS-04086] [oracle.webservices.service] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [APP: soa-infra] [composite_name: UsingAsyncService] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] javax.xml.rpc.soap.SOAPFaultException: *Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.[[*
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1193)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:971)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    [2012-09-20T16:54:20.421+05:30] [soa_server1] [ERROR] [OWS-04115] [oracle.webservices.service] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [APP: soa-infra] [composite_name: UsingAsyncService] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail..
    [2012-09-20T16:54:20.500+05:30] [AdminServer] [ERROR] [] [oracle.webservices.jaxws] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Error while invoking endpoint "http://ravi:8001/soa-infra/services/Partition4MrPai/UsingAsyncService/bpelprocessforasyncusage_client_ep" from client; Security Subject: Administrators
    [2012-09-20T16:54:20.531+05:30] [AdminServer] [NOTIFICATION] [] [oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Dispatch.invoke failed.Exception stack trace written to trace file.
    [2012-09-20T16:54:20.578+05:30] [AdminServer] [ERROR] [EM-00453] [oracle.sysman.emas.model.wsmgt.WSTestModel] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Failed to invoke operation
    [2012-09-20T16:54:20.578+05:30] [AdminServer] [ERROR] [EM-00453] [oracle.sysman.emas.view.wsmgt.WSView] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Failed to invoke operation

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

  • How to map payload from Human Task to BPEL

    Hi,
    I have created a human task form for which I send two parameters from the BPEL process.
    The user is able to update the fields containing the sent parameters and then click 'APPROVE' or 'REJECT'. However, I need the values of the updated fields to be returned and not the 'APPROVE' or 'REJECT strings.
    Can anybody help me with this?
    Alex

    Hi Alex,
    If you checked the Editable via worklistapp box then you dont need to update the values.
    These values automatically update the values of these parameters in human task if you properly mapped the values.
    Regards,
    Priyanka

  • Call web service from human task

    Hi All,
    I have a requirement to call webservice inside human task flow. I have three participant in my human task flow. Let suppose A, B and C. When A approves then task will be assigned to B and when B approves it will go for C.
    My requirement is that, when A approves , then i need to call one external webservice to update database. I did not get any option to call webservice inside human task flow.
    Please help.
    Regards,
    Sunil

    Thanks userN for your wonderful reply but i have one more question.
    As per your instructions i have enabled call back events in Human task flow. In this way i got while loop inside my BPEL. In onTaskAssigned operation i am now trying to call external web service. My requriment is to call external service and get data from service. After getting response from the webservice, i want to assign it to next participant.
    But in this case, when user B approves, it goes to onTaskAssigned block and i am able to make external web service also but mean time, it has been assigned to User C which i do not want.
    I want Human task flow to wait for the webservice response then only assign it to next participant.
    Please help, is there any option to do it.
    Regards,
    Sunil

  • Problem in setting dynamic expiration duration from Human Task

    Hi,
    I have a BPEL process, in which the Human task expiration has to be set dynamically..
    In the , I have set the expiration duration with this :-
    <copy>
    <from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
    </copy>
    Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
    It has a proper duration..
    <initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <systemAttributes>
    <expirationDuration>PT1M</expirationDuration>
    Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
    <globalConfiguration>
    <owner>oc4jadmin</owner>
    <expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
    type="XPATH"/>
    </globalConfiguration>
    The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
    I checked with the WF_TASK table in the orabpel schema ...
    When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
    Can someone look into this please ?
    Struggling with this for quite sometime...
    saptarishi

    If the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.

  • Remove Actionable links from human task notification??

    Is posible to remove the link from the human task notification mail.
    Thanks...

    yes, if you recompile the *.jar and remove the setting "make notifications actionable" (you can find it in the human task definition)

  • Accessing output variables from human task

    Hi,
    I added a human task in my process (jdev 10.1.3) and set up a parameter to be an input field in the jsp. However, I could not find a way to copy the value from this particular variable even though this parameter is a child of payload. Do I have to define the query manually or did I miss something?
    Thank you for advice,
    Mirco

    Ok, I crosschecked the examples and it seems, that there is indeed an example for what I am looking for. In the LoanPlusDemo there is a StarLoan process and that contains the following assignment following a human task:
    <sequence id="BpSeq3" >
    <assign id="BpAss4" >
    <copy>
    <from variable="LoanApproval_globalVariable" part="payload" query="/task:task/task:payload/auto:loan"/>
    <to variable="loan" query="/auto:loan"/>
    </copy>
    </assign>
    </sequence>
    Now considering the input structure:
    <task>
    <title>Loan application for</title>
    <payload>
         <loan>
         <loanApplication>
    <ns1:SSN>123222</ns1:SSN>
    <ns1:email>[email protected]</ns1:email>
    <ns1:customerName/>
    <ns1:loanAmount/>
    <ns1:carModel/>
    <ns1:carYear/>
    <ns1:creditRating/>
    </loanApplication>

         <loanOffer>
    <providerName>Star Loan</providerName>
    <selected>false</selected>
    <approved>false</approved>
    <APR>47</APR>
    </loanOffer>
    </loan>
    </payload>
    How do you know how exactly to create the copy rules? JDev does not support this, that much was answered before. I would absolutely appreciate if someone could
    1. Tell me something about the namespaces in the copy rules e.g. why is it /auto:loan and not just /loan?
    2. An example on how to create such things.
    One of the two might be sufficient.
    Thank you.
    Hinrich
    Message was edited by:
    punkrock77

  • I received Email from: " Secure Skype Service" or ...

    I received the email on 2/22/14 and I am very suspicious that this might be a phishing email.
    Message body is:
    Skype
    You have deferred notification.
    [Link redacted: Kaspersky Pure 3.0 would not connect to server.]
    Sincerely yours
    Skype team
     End of body  message.
    I have not followed the link "View notifications" for fear that it is a bogus email.
    I have absolutely no idea what is meant by "deferred notification". Can someone advise me on if this is a valid message or not.

    Hi, Genix, and welcome to the Community,
    Good catch! 
    That communications from legitimate companies is spoofed (faked) will continue to be a serious problem.  Monitor news reports in your jurisdiction related to recently announced breaches of security protocol at retail stores, websites, banks, and so on which you use or hold accounts at.  This will help raise awareness of where new spam campaigns may have their roots.
    Always be on alert and vigilent.  Monitor all account statements and activities regularly.
    Thanks for your report!
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Throwing Business Exception from Human Task

    Hi,
    Can anyone point me to some examples, of how can I configure a Human Task to throw a business exception in a BPMN process ?
    I want to provide th user with the ability of completing the task normaly, or launch a business exception like, cancel the order, or lack of stock.
    I'm using Fusion 11g.
    Thank You.
    /RG

    Hi
    Thanks for the reply. But, I'm not sure I understood you correctly. What I want, is not to capture an exception after a human task, but to generate one in it. I want to add an error boundary event to a human task. The user can fill the form normally (for example a purchase order) and the normal flow continues or he can generate an exception (like cancel case, or lack of stock) that will be cought by the error boundary event.
    What I want to know is how can I generate a business exception inside a human task? For example in the interface.
    Is this the right way to do it ? Am I missing something ?

  • How to get the callback from an asynchronous BPEL?

    Hi, I have deployed an asynchronous BPEL on Oracle Application Server as a Web Service. The BPEL is named CreditRatingBPEL. The input is a social security number (Ssn) and the output is a credit rating.
    Now I have some troubles in consuming BPEL with Axis1.4. I have generated the client stubs by WSDL2Java tools. I have initiated the asynchronous BPEL successfully. Now I want to get the callback from the BPEL, but I don't know how to do it.Here are some Java snippets:
    public static void main(String[] args) throws ServiceException, RemoteException {
    // TODO Auto-generated method stub
    CreditRatingBPEL_Service service = new CreditRatingBPEL_ServiceLocator();
    CreditRatingBPEL_PortType requestPortType = service.getCreditRatingBPELPort();
    CreditRatingBPELProcessRequest request = new CreditRatingBPELProcessRequest();
    request.setSsn("31060931");
    // asynchronous invoke
    requestPortType.initiate(request);
    // how can I get the callback from the web service?
    I will be very appreciated if you can give me some suggestions. Best regards!

    Checkout following link -
    http://www.sapfans.com/sapfans/forum/intface/messages/4289.html
    Cheers
    Sanjeev

Maybe you are looking for

  • Component SMS_DISCOVERY_DATA_MANAGER Message ID 619

    Hi, My SMS_DISCOVERY_DATA_MANAGER component status is showing as critical because Meesage ID 619 is being logged every minute. Any advice how to fix and if this would impact the application? Status Message Details as follows: Microsoft SQL Server rep

  • The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050

    I would like to know how to troubleshoot this issue. I did the firmware/driver/patch updates for multiple Hyper-V cluster just before the Christmas break. We have all HP DL580 boxes. All went well however, in observed issues with two nodes on a clust

  • Install Business content Infosource 2LIS_11_VAHDR on BI

    Hello, When i try to Install the Business content Infosource 2LIS_11_VAHDR grouping function I am selecting "In Dataflow Bfr and Aft" In the left side under Infosource I selected 2LIS_11_VAHDR then the system is connecting to source system then I hav

  • Reader 8.1.3

    Need assistance.  Have Reader 8.3.1 and want to uninstall and then install Reader X.  When I use the Remove/Install Programs icon it advises the following; This patch could not be opened.  Verify that patch package exists and you can access it, or co

  • 10.4.9 and iChat AV

    Anyone try the 10.4.9 update yet? Does it resolve the iChat AV problems that may have experienced?