AnsweredAssumed Answered

Locale en SOAP Header in Web Services

Question asked by ssandruchi on Aug 27, 2007
Latest reply on Jan 20, 2009 by lesha-sha

I want to define "locale" in a content created by web services api, regardless of which locale is set in the machine.

So, as it's described in "", I have added the Locale in SOAP Header in Repository Service:

               getRepositoryService().setHeader(new RepositoryServiceLocator().getServiceName().getNamespaceURI(),
                                                                             "LocaleHeader", new LocaleConfiguration("es_ES"));

However, this code hasn't any effect in the created content, and this appear with the locale that is set in machine.

I have checked that "QueryHeader" works perfectly, and the 'fetchSize' property is mapped in "org.alfresco.repo.webservice.axis.QueryConfigHandler" class to ALF_FETCH_SIZE property, that it's evaluated after in 'RepositoryWebService.query' method (with "Utils.getBatchSize(msgContext)").

I have already raised an issue (AR-1668) with this question, but I haven't got any comments.