Created attachment 1090675 [details] test log 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: https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/commit/2a1f3568e27c79239cf09fbc9356e5ea6528c0c8 Version-Release number of selected component (if applicable): 6.2.0 ER5 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. Actual results: REST: org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: 1 counts of IllegalAnnotationExceptions SOAP: 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. Expected results: It should be possible to pass Map or Set parameter. Additional info: This works well with REST and JMS clients.