Red Hat Bugzilla – Bug 1278844
Map and Set variables do not work when using REST or SOAP interface
Last modified: 2018-01-30 23:42:32 EST
Created attachment 1090675 [details]
Description of problem:
While verifying bug 1252049, I added also test cases for REST and SOAP interfaces but Map and Set variables cannot be used in these cases:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a process with Map or Set parameter.
2. Try to pass this parameter when completing task through REST or SOAP.
org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: 1 counts of IllegalAnnotationExceptions
javax.xml.ws.soap.SOAPFaultException: Marshalling Error: class org.kie.remote.jaxb.gen.List nor any of its super class is known to this context.
It should be possible to pass Map or Set parameter.
This works well with REST and JMS clients.