2 Replies Latest reply on Jan 30, 2018 5:23 AM by Marek M

    jBPM and SOAP WebService

    Marek M Newbie

      Hello,

       

      for few days now  I am trying to call WebService form my jBPM process.

      Diuring running the process I'm getting the error as follows:

      Unexpected error occurred: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/containers/soap_tst_mm_1.0.1/processes/soap_tst_mm.call_ws/instances'! Error code: 500, message: "Unable to create response: [soap_tst_mm.call_ws:3 - WS:2] -- java.lang.ClassCastException: Cannot cast org.apache.cxf.wsdl11.WSDLManagerImpl to org.apache.cxf.wsdl.WSDLManager"

       

      Unable to complete your request. The following exception occurred: "Unable to create response: [soap_tst_mm.call_ws:3 - WS:2] -- java.lang.ClassCastException: Cannot cast org.apache.cxf.wsdl11.WSDLManagerImpl to org.apache.cxf.wsdl.WSDLManager".
      I've defined WorkItem handler as follows:

       

      NameIdentifierResolver typeParametersRemove

      WebService

      new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler(ksession)

      mvel

       

      I'm usuing the demo version of jBPM. I installed it on Ubuntu using jBPM installer (jBPM 7.5, WildFly 10.1.0)
      I've noticed that in jbpmthere is CXF in version 3.1.6 and i WildFly version 3.1.12.
      I was trying to delete cxf from BPM runtime but it didn't help.
      Could anybody help me? What am I doing wrong?
      Best regards,
      Marek