Bug 1278844

Summary: Map and Set variables do not work when using REST or SOAP interface
Product: [Retired] JBoss BPMS Platform 6 Reporter: Tomas Livora <tlivora>
Component: Business CentralAssignee: Shelly McGowan <smcgowan>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: etirelli, kverlaen, lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:47:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test log none

Description Tomas Livora 2015-11-06 14:30:25 UTC
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.