Sunday, January 3, 2016

SOA Workflow Service Client Example: Fetch and Reassign Request Tasks

Tested On: Oracle Identity Manager 11.1.2.3.0 and Oracle SOA 11.1.1.9.0
Description: Demonstrates how to setup a remote SOA Workflow Service client and use its APIs. Fetching all the requests of a given user and reassigning a task to a different user used are demonstrated as examples. The examples given here can be manually done via OIM Identity Self Service page.

Identity Self Service: Inbox containing tasks generated by OOTB SOA Composites

Reassigning task via Identity Self Service

WebLogic EM Console: SOA Composite Instances

References:
http://www.oracle.com/technetwork/middleware/soasuite/documentation/index-099743.html
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html#queryTasks_oracle_bpel_services_workflow_verification_IWorkflowContext__java_util_List__java_util_List__oracle_bpel_services_workflow_query_ITaskQueryService_AssignmentFilter__java_lang_String__oracle_bpel_services_workflow_repos_Predicate__oracle_bpel_services_workflow_repos_Ordering__int__int_http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_worklistcust.htm#SOASE10447
https://beatechnologies.wordpress.com/2011/08/24/using-java-apis-for-oracle-human-workflows/
https://kaustavdassoa.wordpress.com/2013/10/31/bpm-worklist-sample-reassign-or-delegate-task/

The following JARs are needed for the Workflow Service client:
  • wlfullclient.jar (Generated by "
    java -jar $MW_HOME/modules/com.bea.core.jarbuilder_1.7.0.0.jar")
  • wsclient_extended.jar ($MW_HOME/oracle_common/webservices/)
  • wlclient.jar ($MW_HOME/oracle_common/modules/oracle.webservices_11.1.1/)
  • xmlparserv2.jar ($MW_HOME/Oracle_SOA1/oui/jlib/)
  • xml.jar ($MW_HOME/Oracle_SOA1/oui/jlib/)
  • bpm-infra.jar ($MW_HOME/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/)
  • bpm-services.jar ($MW_HOME/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1/)
  • fabric-runtime.jar ($MW_HOME/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/)

2 comments:

  1. I had to remove from project's path wlclient.jar ,xmlparserv2.jar and xml.jar to make it run with OIM 11.2.0.1.0 and SOA 11.1.1.7.0. Thanks

    ReplyDelete
  2. Hi, can anyone pls tell how to mark the pending soa task as complete without any manual intervention.

    ReplyDelete