}
KieRemoteHttpResponse httpResponse = null;
try {
logger.debug("Sending POST request with " + command.getClass().getSimpleName() + " to " + httpRequest.getUri());
httpRequest.contentType(MediaType.APPLICATION_XML).body(jaxbRequestString);
httpRequest.post();
httpResponse = httpRequest.response();
} catch( Exception e ) {
httpRequest.disconnect();
throw new RemoteCommunicationException("Unable to post request: " + e.getMessage(), e);