11-06-2014 11:23 AM
ActivitiServiceImpl.deployProcessDefinition() - file being deployed = c:\activiti-tempfiles\MyProcess.bpmn20.xml
ActivitServiceImpl.deployProcessDefinition() - activiti response = {"message":"Bad request","exception":"File must be of type .bpmn20.xml, .bpmn, .bar or .zip"}
MultipartEntityBuilder entityBuilder = MultipartEntityBuilder.create();
entityBuilder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);
entityBuilder.addBinaryBody(name, file, ContentType.DEFAULT_BINARY, name + ".bpmn20.xml");
HttpEntity entity = entityBuilder.build();
httpPost = new HttpPost(activitiUrl);
httpPost.setEntity(entity);
response = client.execute(httpPost, context);
11-18-2014 03:03 PM
11-18-2014 03:11 PM
11-20-2014 02:36 PM
11-25-2014 04:26 AM
12-01-2014 08:43 AM
12-05-2014 10:47 AM
12-05-2014 11:09 AM
12-11-2014 07:21 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.