Description of problem: Decision Server is not firing rules when JAXB Request is sent, including Custom Objects (i.e. Person) Version-Release number of selected component (if applicable): 6.1.0 How reproducible: always Steps to Reproduce: 1. Deploy KJAR JAXBTest-1.9.jar into Kie-Decision server 2. Add this KJAR on the classpath on decision-rest-generator.zip 3. Run the decision-rest-generator.zip which will generates couple of JAXB xml request 4. Send one of this request to the Decision Server which is bound to the attached kjar Actual results: Rule is not fired Expected results: Rule is fired Additional info: Two approaches are used in the request generator 1) One is generating JAXBContext using *.xsd file 2) Is including FQCN of the Custom Objects in the JAXBContext none of these approaches will generate a request which will result in the rule being fired. Custom Model IS (hopefully) correctly annotated with javax.xml annotations.
Created attachment 1027049 [details] [0] jaxb request generator Generates JAXB XML Request which can be sent with your favorite REST client to the Decision Server
Created attachment 1027050 [details] [1] kjar KJAR which needs to be deployed into Decision Server
Version 6.1 only supports XStream payloads for the commands. Version 6.2 has full support for JAXB, JSON and XSTREAM.
This is working in 6.2
Created attachment 1090629 [details] stacktrace Tried to create new container with mentioned kjar to kie server, but it failed with error message listed in attachment.
Missing class from stacktrace seems to be included in drools-workbench-models-guided-dtable artifact, it is referenced from org.drools.compiler.compiler.GuidedDecisionTableFactory.
fixed on master droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/bebe30660578e692f211a0343cc4d5ecf6de01ca in case it should be back ported to 6.3.x please reassign back to me
moving back to modified as the fix exists only on master. updated target release to be 6.3.0
fixed back ported to 6.3.x on request droolsjbpm-integration 6.3.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/c4e079afe2c25e4b11ac5d7358e64e667dec53b0 moved out from target release 6.3.0 and set milestone CR2
Verified in 6.2.0 CR2