we try to use remote JMS api for communicate with JBPM. Everything is fine until we posted text with word "<TRUE>". JBPM started complaining :java.lang.RuntimeException: org.kie.remote.services.exception.KieRemoteServicesInternalError: Unable to serialize String to JaxbCommandsRequest
and root cause was : org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 32; The element type "TRUE" must be terminated by the matching end-tag "</TRUE>".
Like I said we use remote JMS API. Code for call "completeWorkItem" looks like this:
|- urlContext / port / http / CheckExistence = <TRUE>
Easy solution is call some escape method. But why we have to do this ? I think it could be done by remote api or at least it could be mention in documentation. Do I miss something in how to use remote api ?