Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1409

WebService Task execution fails with ClassCastException

    XMLWordPrintable

    Details

    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Setup PAM in EAP 7.1.0.
      2. Create a one step business process in business central with a WebService Task in it and set suitable data assignments for the WebService Task
      3. Set the work item handler as org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler for the WebService Task
      4. Build, deploy and create an instance of the business process.

      Show
      1. Setup PAM in EAP 7.1.0. 2. Create a one step business process in business central with a WebService Task in it and set suitable data assignments for the WebService Task 3. Set the work item handler as org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler for the WebService Task 4. Build, deploy and create an instance of the business process.

      Description

      WebService task execution in a business process fails with the error [1] (stated below) when using org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler.

      [1] "Unexpected error occurred: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/containers/sample-ws-call_1.0.0/processes/sample-ws-call.InvokeWSProcess/instances'! Error code: 500, message: "Unable to create response: [sample-ws-call.InvokeWSProcess:2 - WS:2] – java.lang.ClassCastException: Cannot cast org.apache.cxf.wsdl11.WSDLManagerImpl to org.apache.cxf.wsdl.WSDLManager"
      "
      This error is due to the fact that there are 2 different versions of cxf*.jars that gets loaded into the runtime - one from EAP modules and the other from kie-server.war/WEB-INF/lib

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  balki404 Balakrishnan Balasubramanian
                  Tester:
                  Marián Macik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: