Description of problem: in case JSON (and JAXB to some extent - when no classes are added to JAXB context such as FlatQueryResults) it will client side will not properly deserialize response to proper object types. Version-Release number of selected component (if applicable): How reproducible: use JSON or JAXB content type and execute rules that involved use of QueryCommand to collect results KieServerClient must be used as it's responsible for unmarshmaling response to complete object structure starting at ExecutionResultImpl Steps to Reproduce: 1. 2. 3. Actual results: response is partially unmarshalled and query results are unmarshalled to map of maps which is default for JSON unmarshaller when it cannot find proper object type Expected results: complete object is produced without map of maps for queries and fact handles Additional info:
fixed on both master and 6.3.x: droolsjbpm master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/4e7e9fe42e43b10e7560e8f5bf35ff67fe24a59e 6.3.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/576a5c66145757aac0bc9c58758391e81b714ba9
Verified in 6.2.0CR2.
*** Bug 1315636 has been marked as a duplicate of this bug. ***