Cancel Task in BPEL human workflow

All,
We have a requirement to cancel the task for the user using human work flow. The worklist should be deleted for the user. Let me know if oracle human workflow provides an opertaion option to cancel the task like reassign,initaiate etc.
Regards,
M.Rajesh

Ronald,
By cancel means i need the worklist entry for the given taskid to be deleted or marked as cancel so that the user will not be able to process the task. The BPEL process should have a human task process defined like updatetask which will cancel the task.
Let me expalin our scenario.
We have an assignment which has different status like new,reassign,cancel. Using a switch we check for the required status and if the status is new we call the initaiate task. Similarly if the status is cancel we need to cancel or delete the task for the user.
Regards,
M.Rajesh

Similar Messages

  • Exposing BPEL Human Workflow Activities in ADF

    Hi All,
    I want to have a clear idea on best practices/ ways on
    "How to expose BPEL human workflow processes in ADF".
    Do I need to create an ADF application where I can consume BPEL datacontrol.
    or Do I need to manage ADF datacontrols with BPEL databases and create VO EO and create datacontrol.
    What could be the best practice on exposing BPEL Human workflow in ADF.
    Waiting for reply.
    Regards,
    Hoque

    Hi Hoque,
    you can create direct an ADF Task Form Projekt from your HumanTask Wizard. Cehck out this two links:
    Implementing an Oracle ADF Task Flow for a Human Task - 11g Release 1 (11.1.3)
    http://docs.oracle.com/cd/E28271_01/dev.1111/e10224/bp_tutorialhwf_.htm
    Never access the SOA Suite databases directly, it is a bad practice.
    best regards, Nicolas

  • BPEL Human Workflow:IWorklistContext

    Hi,
    I am trying to access the tasks assigned to perticular user using Human Workflow APIs, but I am unable to get the task list eventhough tasks are assigned for the user. I am using below mention code,
    RemoteWorklistServiceClient client= new RemoteWorklistServiceClient();
    client.init();
    String user = "dlsdeomgr";
    String password = "welcome1";
    //client.
    IWorklistContext ctx = client.authenticateUser(user, password);
    Map filterMap = new HashMap();
    filterMap.put(IWorklistService.FILTER_TYPE_TASK_FILTER,IWorklistService.TASK_FILTER_MY);
    filterMap.put(IWorklistService.FILTER_TYPE_STATUS_FILTER, IWorklistService.STATUS_FILTER_ASSIGNED);
    String keywords="";
    List tasks = client.getWorklistTasks(ctx,filterMap, keywords,
    IWorklistService.SORT_FIELD_TASK_TITLE,
    IWorklistService.SORT_ORDER_ASCENDING);
    System.out.println("tasks1"+ tasks.size());
    for (int i=0; i<tasks.size(); i++)
    Task task = (Task) tasks.get(i);
    String taskId = task.getTaskId();
    String status= task.getStatus();
    System.out.println("Task ID!!"+ taskId + "status" +status);
    let me know if I am doing wrong? or is there any other way I can access asynchronous bpel process using human workflow API. Thanks

    I checked your code. There were few typos, I wonder how you could compile it.
    Anyway here is workable code for user jstein.
    Don't forget to place hw_worklist_jndi.properties in your classpath
    package hanusiak;
    import oracle.tip.pc.services.hw.task.impl.Task;
    import oracle.tip.pc.services.hw.worklist.RemoteWorklistServiceClient;
    import oracle.tip.pc.api.worklist.IWorklistContext;
    import oracle.tip.pc.api.worklist.IWorklistService;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.List;
    public class Lister {
    * @param args
    public static void main(String[] args) {
    try {
    RemoteWorklistServiceClient client= new RemoteWorklistServiceClient();
    client.init();
    String user = "jstein";
    String password = "welcome";
    IWorklistContext ctx = client.authenticateUser(user, password);
    Map filterMap = new HashMap();
    filterMap.put(IWorklistService.FILTER_TYPE_TASK_FILTER,IWorklistService.TASK_FILTER_MY);
    filterMap.put(IWorklistService.FILTER_TYPE_STATUS_FILTER, IWorklistService.STATUS_FILTER_ASSIGNED);
    String keywords="";
    List tasks = client.getWorklistTasks(ctx,keywords, filterMap,
    IWorklistService.SORT_FIELD_TASK_TITLE,
    IWorklistService.SORT_ORDER_ASCENDING);
    System.out.println("tasks="+ tasks.size());
    for (int i=0; i<tasks.size(); i++)
    Task task = (Task) tasks.get(i);
    String taskId = task.getTaskId();
    String status= task.getState();
    System.out.println("Task ID="+ taskId + " status=" +status);
    } catch (Exception e) {
    e.printStackTrace();
    }

  • BPEL Human Workflow - dynamic Outcomes

    Hello All,
    While designing human task, I can pretty much provide XPATH everywhere, but I couldn't provide xpath for outcomes.
    Is it possible to provide dymanic outcomes?
    - I am not sure how does Worklist App figures out set of outcomes, I didn't it as part of task input.
    I appreciate your help.
    Thanks,
    Chintan

    Alright, it is certainly getting interesting to me, and would really appreciate if somebody provide any insight to this issue.
    - I saw that TaskLink input (initialTaskInput), does have property called parallelOutcomeCount in systemAttributes, which decides type of outcomes to worklist application.
    q.1: Why I am not able to override this attribute (parallelOutcomeCount )? I tried to put my own value right before the INVOKE operation, still it didn't work, it got over-ridden by BPEL engine?
    q.2: I don't see any ASSIGN activity to assign parallelOutcomeCount, I do see assign activity for assign system and payload activity generated during Human Workflow. How do they get set? Is there is any interceptor concept?
    Really curious, because it there is any hidden way to set such variable, I would love to use such framework for many different purposes.
    Thanks!
    Chintan

  • OTBI reporting on BPEL human workflow tasks

    Hi,
    Is it feasible to do OTBI reporting on BPEL tasks associated to application objects? I was searching around and could find no relevant material.
    Thanks,
    Srini

    Learnt OTBI cannot report on BPEL tasks.

  • BPEL human workflows: How to carry task parameters to another flow

    Hi all
    i want to split the flows to make it maintainable. i have 8 humantasks including flow and when i split this, it will share 3-5 humantasks in each of them. i want to carry the task details from first flow to second one(History,payload and comments). Actually according to customer these 8 humantasks make 1 business task together so they want to see the history of all in one thread(assume that you track only 1 task). So what is the best way to carry task details from one flow to other one?
    Thanks

    Hi,
    Since the human task out is in a global variable by default you can copy the output of previous tasks in the assign of every next human task. I do not know if this also will be posible for the history. This is could be task dependend. If you have trouble copying the output directly to the input in case of e.g. arrays, you could also use a self defined global variable that holds the information needed in between human tasks.
    Kind Regards,
    Andre

  • Auto Claim Tasks in BPM Human Workflow

    All,
    I have a requirement with a customer to auto claim tasks. When a user selects a task from their task list (tasks by default are assigned to a role), it should be auto claimed. This is to prevent other users from working the task at the same time.
    I appreciate I could educate / train the users to have to press the Claim button first, however I was investigating the feasibility of doing an Auto claim to reduce the need for the users to do this.
    Does anyone know if this is supported Out of the box with BPM Suite? I have looked around the documentation and have seem no ways of doing this. An alternative would be to use the BPM API's however I ideally would prefer to not need to write custom logic for this.
    Your thoughts and experiences would be appreciated
    Regards
    Dave

    Hi Dave,
    The default when you create a human task is that it is set to auto claim. To see this, open one of your human tasks -> click "Assignment" -> click the pencil icon in the upper right corner. There you should see the "Enable Auto Claim" checkbox already checked by default.
    Take a look at this link for more on auto claim: Re: Is it necessary to Claim task? Seems to work without doing so
    Hope this helps,
    Dan

  • Groups functionality in BPEL humal workflow not work for Third party LDAP

    Hi,
    Oracle Virtual Directory(OVD) configured as third party LDAP was integrated
    with BPEL human worklist and corresponding tasks were assigned to a
    particular group using the human task editor. When the members in the group as
    present in OVD logged in to the BPEL human workflow console the assigned
    tasks are not visible to the particular user whereas logged in as bpeladmin can
    able to view the task for the group and the associated users. The same when
    tested with the default JAZN authentication the functionaliy is working fine. We
    are not able to assign any tasks to the members associated to the groups. Also
    tasks assigned to individual users directly are found to be working with OVD
    integrated.
    Regards
    Thirumal

    Anyone out there? Help!

  • Human Workflow in BPEL

    Hi,
    We are able to get the users(participants) from an ADFbc service Response variable.But,how do we need to assign these users as participants in the Human WorkFlow(inside the Nflow).Depending on N , the users retrieved would be different for each flow in Nflow.
    We have tried to assign the foll:
    <copy>
    <from variable="Invoke_3_getUsers_OutputVariable"
    part="parameters" query="/ns2:getUsersResponse/ns2:result"/>
    <to variable="initiateTaskInput" part="payload" query="/taskservice:initiateTask/ns5:routingSlip/ns5:participants/ns5:participant"/>
    </copy>
    but getting some fault as "Invalid service input element". I tried to assign this output variable to task assignees as well..but dint work
    Any pointers would help..
    thanks in advance
    Regards
    Ss

    Ronald,
    By cancel means i need the worklist entry for the given taskid to be deleted or marked as cancel so that the user will not be able to process the task. The BPEL process should have a human task process defined like updatetask which will cancel the task.
    Let me expalin our scenario.
    We have an assignment which has different status like new,reassign,cancel. Using a switch we check for the required status and if the status is new we call the initaiate task. Similarly if the status is cancel we need to cancel or delete the task for the user.
    Regards,
    M.Rajesh

  • Issue in passing payload from Human Workflow to ADF task flow

    Hi All,l
    I am facing one strange issue in Human Workflow -> ADF task form integration. I have 4 Data variables to pass to the task form for displaying and modifying the request payload. E.g
    1. request
    2. propertiesList
    3. input1
    4. input2
    request and properties list variables are in the same namespace. When the process is executed, I can see the data being passed in Initiate taskflow activity in BPEL. However I don't see the data in ADF form only for propertiesList variable. This is a custom schema element I added newly in the project. I don't get any error , but no data is getting displayed.
    Any help in this matter is greatly appreciated.
    Thanks
    Ashwini

    I have applied workaround for this. However the main issue still exist.
    When I pass hard-coded values in the list and drag and drop that list as selectOneChoice - I see the values in dropdown. Whereas, when the list is passed from program logic and I can see the values passed in initiateTask activity, and drag and drop the field as selectOneChoice, the values don't come up.
    I will replicate this issue in a smaller piece of code and paste here later.
    Thanks
    Ashwini

  • 10.1.2. to 10.1.3 Human workflow task migration issue

    Hi all,
    I am currently looking at the possibility to migrate our 10.1.2 bpel processes, containing human workflow task, to 10.1.3.1.0 Everything seems to migrate smoothly except the human workflow functionality.
    The initateTask invoke action returns the following error in the 10.1.3.1 console when I ran an 10.1.2. bpel process containing a human workflow task:
    [2006/12/04 03:01:00]
    "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    WSDLReadingError
    </code>
    </part>
    - <part name="summary">
    <summary>
    Failed to read wsdl.
    Failed to read wsdl at "http://xesoa1.iteye.local:8894/orabpel/default/TaskActionHandler/TaskManagerService.wsdl", because "Failed to read WSDL from http://xesoa1.iteye.local:8894/orabpel/default/TaskActionHandler/TaskManagerService.wsdl:WSDL not found".
    Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly.
    </summary>
    </part>
    </remoteFault>
    I know that in 10.1.3 the human workflow mechanism is heavily changed and now is invoked by using other services (TaskService) than the services used (TaskActionHandler process)in 10.1.2. In 10.1.2 the TaskActionHandler was a separate build-in bpel process used for interaction between a bpel process and the human workflow. This process is not present in the 10.1.3.1 installation, so that is causing my error. Moreover, in 10.1.3 the interaction between a bpel process is and the human workflow is not done by invoking a separate bpel process (TaskActionHandler) but by invoking a java wsif service TaskService..(Correct me when I'm wrong or not complete)
    My question now is how can I migrate my 10.1.2 human workflow task to 10.1.3.1 without manually rewrite the task scopes to 10.1.3...According to the fragment below copied from the JDeveloper 10.1.3.1 help files it should be possible. Maybe, there's is a way to deploy the needed processes manually?
    Oracle BPEL Process Manager Workflow Services 10.1.2 and 10.1.3.1.0 Compatibility
    For release 10.1.3.1.0, the workflow wizard has been replaced by a Human Task editor. This editor enables you to specify task settings such as task outcome, payload structure, task participants, assignment and routing policy, expiration and escalation policy, notification settings, and so on. You cannot use the Human Task editor to edit 10.1.2-based workflows. To use any new 10.1.3.1.0 functionality, the task scope of the workflow must be manually migrated to use the new workflow metadata. Note also that this is the last release in which you can deploy workflows designed with 10.1.2.
    Kind regards,
    Tom Hofte

    Hi Clemens,
    Thanks for your quick response. The Taskmanager and the Taskactionhandler are indeed not deployed so I will do that automatically.
    Still one question/remark left:
    You noticed that you still have to complete the tasks using the old worklist app. . So if i'm correct, you have to use the deprecated 10.1.2 worklist api or build-in worklist app. The 10.1.2 worklist app is not deployed in my 10.1.3 installation. However, 10.1.3 only contains the new worklist app. Is there also a way to deploy it manually?
    Writing this down it al looks a bit clumsy to me. Is it not a better option to invest some time in migrating all tasks scopes manually to 10.1.3, because as far as I can see the human tasks are causing the main issues concerning migration? After this you have a 10.1.3 compliant system. I wonder what your opinion is on this issue.
    Kind regards,
    Tom

  • BPEL Human task Tutorial 10.1.3.5 SOA

    Hi,
    I have been tasked with setting up an example of BPEL human task workflow working on SOA application server 10.1.3.5.
    Does anyone have any examples of this? I would prefer something that is stand-alone and not dependent on other creations or deployments. I found one for 11g however I need to have it used on SOA app server, not WebLogic. I wouldn't mind following this guide below, but I am unable to find out how to use JDev11g to deploy on SOA 10g app server.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10275/intro.htm
    Thank you for any help / support.
    Mike

    Hi,
    Thanks for that. In here is what I found on the web also, OrderBooking which is a large application. The 11g example just streamlines the process with just the BPEL "human task" example which is what I was tasked to do.
    Thanks though

  • Configuring Callbacks in BPEL Human Task

    Hi,
    I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
    I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
    I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
    Am I missing some steps here ?
    Thanks in advance
    Pradeep

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • Calling Human Workflow Webservices from BPEL

    Hello,
    I am using J Developer 11.1.1.6 to develop a BPEL process that calls the TaskQueryService Human Workflow webservice. When I compile the SOA project, I get the following errors:
    Error: oracle.xml.parser.schema.XSDException: Can not build schema 'http://xmlns.oracle.com/bpel/workflow/common' located at 'http://xmlns.oracle.com/bpel/workflow/common.__OAUX_GENXSD_.TOP.XSD' [Cause=Can not build schema 'http://xmlns.oracle.com/bpel/workflow/common' located at 'http://xmlns.oracle.com/bpel/workflow/common.__OAUX_GENXSD_.TOP.XSD']
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskQueryServiceFaultResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}successResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryViewTasksRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}credentialOnBehalfOfRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/task}task
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}doesViewTaskExistRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/common}workflowContext
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryTaskErrorsRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}countTasksRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryAggregatedTasksRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getPermittedAssigneesResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskDetailsByIdRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskErrorsResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskListResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getTaskSequenceRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskDetailsByNumberRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getPermittedAssigneesRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskListRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}aggregatedTasksResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}countViewTasksRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskVersionDetailsRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}updateWorkflowContextRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryViewAggregatedTasksRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskExistsResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskHistoryRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/common}credential
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}doesTaskExistRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskSequence
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskCountResponse
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}workflowContextRequest
    Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/FuelLogIntegrations/HWFTaskService/FindTasks}process
    I've tried implementing some of the recommendations I found by Googling the error message. I haven't been able to find a workable solution.
    I would appreciate some direction on how to fix the problem.
    Thanks

    I tried the Oracle patch. After installation, I am getting the following error in place of the multiple errors I was getting previously.
    java.lang.VerifyError: Cannot inherit from final class
    Sep 24, 2012 3:55:13 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Sep 24, 2012 3:55:15 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Sep 24, 2012 3:55:18 PM com.collaxa.cube.CubeLogger info
    INFO: validating "InvoiceProcessing.bpel" ...
    Exception in thread "main" java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
    at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
    at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
    at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
    at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
    at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
    at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
    at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
    at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
    at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
    at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Please do let me know in case I am doing something wrong.

  • Programmatically Accessing the Human Workflow Tasks' Payloads

    Hi Everybody,
    I hope I'm not over the line here but I would like to ask for help.
    I am using the Human Workflow Tasks Services (*web services*), specially the Task Query Service and the Task Service, to retrieve the tasks' list of a user and change the outcomes.
    The problem is that when I am trying the getPayload() method , it always return null .
    Any solution please?
    Regards

    Hello
    First, Thank you for the 2 links.
    I tried this exemple but It didn't work for me.
    I used the java code bellow :
    +try {+
    IWorkflowServiceClient wfSvcClient = null;
    ITaskQueryService taskQuerySvc = null;
    IWorkflowContext wfCtx = null;
    +// 1. this step is optional since configuration can be set in wf_client_config.xml file+
    Map<CONNECTION_PROPERTY, String> properties = new HashMap<CONNECTION_PROPERTY, String>();
    +if (WorkflowServiceClientFactory.REMOTE_CLIENT.equals(clientType)) {+
    properties.put(CONNECTION_PROPERTY.EJB_INITIAL_CONTEXT_FACTORY,
    +"weblogic.jndi.WLInitialContextFactory");+
    properties.put(CONNECTION_PROPERTY.EJB_PROVIDER_URL,
    +"t3://192.9.200.77:7001");+
    properties.put(CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS,
    +"weblogic");+
    properties.put(CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    +} else if (WorkflowServiceClientFactory.SOAP_CLIENT.equals(clientType)) {+
    properties.put(CONNECTION_PROPERTY.SOAP_END_POINT_ROOT,
    +"http://192.9.200.77:7001");+
    properties.put(CONNECTION_PROPERTY.SOAP_IDENTITY_PROPAGATION,"non-saml"); // optional
    +}+
    +// 2. gets IWorkflowServiceClient for specified client type+
    wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(clientType, properties, null);
    +.............+
    When I run it using the REMOTE or SOAP mode , I have the same result: An exception occurs with the execution of the .getWorkflowServiceClient() method .
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException
    +     at oracle.bpel.services.workflow.client.WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.java:358)+
    +     at idee.soa.HWTask.getTaskdetails(HWTask.java:55)+
    +     at idee.soa.MainTest.main(MainTest.java:11)+
    Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException
    +     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)+
    +     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)+
    +     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)+
    +     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)+
    +     ... 3 more+
    Please, I need your help :(
    Regards

Maybe you are looking for

  • How to transfer pictures from one itunes to another?

    I have most of my iPod stuff on my laptop, but my pictures are on my mac. I just got a new iPod, and I did what I normally do to get my pictures onto it- go into itunes, go into my pictures, and apply it. This time, however, not all of the pictures g

  • Need to Remove Duplicate Rows

    I have two tables MEMBER_ADRESS and MEMBER_ORDER. The MEMBER_ADRESS has duplicate rows in it based on MEMBER_ID and MATCH_VALUE. These duplicate ADDRESS_IDs were used in MEMBER_ORDER. I need to remove the duplicates from MEMBER_ADRESS making sure I k

  • TS4036 where does icloud store my mac osx recovery key?

    where does icloud store my mac osx recovery key for file vault?

  • Addition of Username in FB03 Document Header

    Hi, In fb03 t code , Under Document Header, i need to add one more field "username". the user name should come from user id which is already present in fb03 header document. Please tell where to use that logic.

  • Labview as the active window disables 1 or 2 concurrent while loops

    I am trying to get familiar with new mutltifunction DAQ hardware from IOtech - a DAQborad/2000. I have a simple vi consisting of two while loops which should be running in parallel. One acquires analog input data, the other handles DAC outputs. When