Hi Everyone,
I'm new to jbpm7 and I want based on the docs found here:
https://docs.jboss.org/jbpm/release/7.3.0.Final/jbpm-docs/html_single/ to be able to create a simple process that calls a webservice.
For that I have installed Eclipse Oxygen with jBPM support. All is fine, the editor is there and working. Then I have created a simple jbpmn process with Start - Web service call -> error? Y/N gate which decide where to go and print a message.
Like in this picture:

Following the various examples, I discovered that the web service task needs an implementation. I assume that has to be defined somehow. I don't know how to do it.
So, to summarize, i think my understanding is not correct: I have defined a service task that will call an external web service service. What I would like to do is how to define for this service task
a java class that can call my external web service.
Here is the definition of the Service Task:

and the I/O

I saw that is also needed a file: kie-deployment-descriptor.xml, I have it with the following def:
<work-item-handlers>
<work-item-handler>
<resolver>mvel</resolver>
<identifier>new com.sample.handlers.NwsItemHandler()</identifier>
<parameters/>
<name>Rest</name>
</work-item-handler>
</work-item-handlers>
I believe that the service task needs an interface. Is that true?
Anyway, the error I have is this:
Exception in thread "main" org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.nwsearch:236 - web service call:7] -- Could not find work item handler for Service Task
It seems that the link between the service task and my java class is not done. How do I do that? Is not the interface defined in Service Task -> Operation?
The project is maven, run from eclipse.
I will attach a zip file with the details. Please help or lead me in the correct direction.
Thank you!