Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1278722

Summary: Marshalling Error when executing command through 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: urgent Docs Contact:
Priority: urgent    
Version: 6.2.0CC: etirelli, lpetrovi
Target Milestone: CR1Keywords: Regression
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1305774 (view as bug list) Environment:
Last Closed: 2020-03-27 19:35:28 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:
Bug Depends On:    
Bug Blocks: 1305774    
Attachments:
Description Flags
test log none

Description Tomas Livora 2015-11-06 09:37:04 UTC
Created attachment 1090545 [details]
test log

Description of problem:
When you try to execute StartProcessCommand with various parameters using SOAP interface, you will get JAXBException.

Version-Release number of selected component (if applicable):
6.2.0 ER5

Steps to Reproduce:
1. Execute StartProcessCommand with various parameters using SOAP.
2. See the result.

Actual results:
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:
No exception

Additional info:
It worked well on ER4. It seems that this bug might have been introduced by the following commit which deals with org.kie.remote.jaxb.gen.List:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/78b5d38f99ce172b428f114e00c8d87197bcbb9f

This is the failing test:
https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/blob/master/test-jbpm-integration/src/test/java/org/jboss/qa/bpms/jbpm/integration/remote/process/variable/ObjectVariableTest.java#L84-105

Comment 2 Marco Rietveld 2015-11-10 09:37:22 UTC
PR available: https://github.com/droolsjbpm/droolsjbpm-integration/pull/225

Comment 3 Marco Rietveld 2015-11-11 13:12:03 UTC
Fixed in 6.3.x. Commits:

6.3.x:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/0b4b05ca

This has been purposefully not fixed in master, because the current fix is a hack. A robuster fix (classes in kie-internal or kie-core-jaxb) will be done for master.

Comment 4 Tomas Livora 2015-11-20 10:43:20 UTC
Verified on BPMS 6.2.0 CR1