04-16-2008 06:02 AM
04-16-2008 09:05 AM
04-16-2008 10:19 AM
CML cml = new CML();
fine=System.currentTimeMillis();
trascorso=fine-inizio;
inizio=fine;
System.out.println("6c) updateResult: "+trascorso);
cml.setCreate(new CMLCreate[] { create });
fine=System.currentTimeMillis();
trascorso=fine-inizio;
inizio=fine;
System.out.println("6d) updateResult: "+trascorso);
UpdateResult[] result = repositoryService.update(cml);
More than 5 seconds are spent in the following method: org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(CML)
Reference newContentNode = result[0].getDestination();
fine=System.currentTimeMillis();
trascorso=fine-inizio;
inizio=fine;
System.out.println("7a) getNode: "+trascorso);
Content content = contentService.write(newContentNode,
Constants.PROP_CONTENT, contentFile, contentFormat);
if (newContentNode == null)
throw new Exception("Errore nell'importazione del file.");
fine=System.currentTimeMillis();
trascorso=fine-inizio;
inizio=fine;
System.out.println("7b) write: "+trascorso);
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.