I'd like to add service test in JBPM-5 using BPMN-2.0 using only XML syntax. I want that service task to have an input and output parameters of some Java type.
Lets say I created mypackage.MyCustomTaskWorkItemHandler for my service task and registered it in corresponding WorkItemManager like MyCustomTask.
Now I'd like to describe a call of this service task in BPMN XML file.
<serviceTask id="myCustomTask1" ... implementation=??? operationRef=???>
<!-- incoming,outgoing,etc -->
<ioSpecification>
...
</ioSpecification>
</serviceTask>
Tag serviceTask is from http://www.omg.org/spec/BPMN/20100524/MODEL namespace. How exacty should I specify input and output parameters for it?