Hi all,I'm trying to add multilinguage aspect to a node for a massive upload. This is the code I'm trying to use: WebServiceFactory.setEndpointAddress(webServiceFactory);
AuthenticationUtils.startSession(userName, password);
ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();
MultilingualContentService multilingualContentService = (MultilingualContentService) ctx.getBean("MultilingualContentService");
NodeRef nodeRef = new NodeRef("workspace://SpacesStore/" + contentNodeRef.getUuid());
multilingualContentService.makeTranslation(nodeRef, locale);this code, obviusly returns this: parsing XML document from class path resource [alfresco/application-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist
it's not clear how can I reach the spring configuration xml file that are stored on remote server. How can I initialize the MultilingualContentService? Is there another way to change make a translation of a node? thanks,Andrea