02-29-2020 02:12 PM
Hi As the creation of document is 3 step process. I am having two different apis- Batch Creation and Create metadata(document) ------> Wrapper on nuxeo created with spring rest template and uploading image in 2nd step directly to nuxeo with out wrapper------>working fine.
I am also having another api which does all 3 steps in one method in wrapper java sdk But then the image is not visible. and getting "picture:info": { "colorSpace": null, "depth": null, "width": null, "format": null, "height": null }, in response
For reference attaching two responses and code for uploading image:-
//sending file as form data using postman
public HttpResponse upload(String url, String fileName, String caseId, MultipartFile file, String batchId,
int index, HttpHeaders headers) {
File tmpFile = null;
try {
HttpClient httpclient = HttpClientBuilder.create().build();
HttpPost httppost = new HttpPost(url);
for (Map.Entry<String, List
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
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.