Description of problem: When we use own type in the parameters of StartProcessCommand, the context has to know about it. The class then cannot be used just because there is no possibility how to add the own classes into the context.
I propose something like: public static String convertJaxbObjectToString(Object object, Class... classes) throws JAXBException { Marshaller marshaller = JAXBContext.newInstance(ArrayUtils.addAll(jaxbClasses, classes)).createMarshaller();
Fixed: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/c2fd03a895ca1b6f16b354a51463c8ba78f9d673 master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/172991ed76f0eb434f6a6bfcebb4d18700565cd2
Verified in BPMS 6.0.0.ER5