<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MultilingualContentService initialization in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264259#M217389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The requirement I receive is to model some existing content available on a SQL Server database using Alfresco content management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a batch java application that create a connection with Alfresco and create new content. I do all works (create new content and association) using WebServiceFactory, but, I didn't find any sample to add translation to a node using it so, for that reason, I tried to use ApplicationContextHelper.getApplicationContext().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do that using WebServiceFactory? Where can I found an Example? Looking at SDK I didn't find anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2012 18:01:40 GMT</pubDate>
    <dc:creator>andrea_girardi</dc:creator>
    <dc:date>2012-02-17T18:01:40Z</dc:date>
    <item>
      <title>MultilingualContentService initialization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264257#M217387</link>
      <description>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();Mu</description>
      <pubDate>Thu, 16 Feb 2012 10:23:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264257#M217387</guid>
      <dc:creator>andrea_girardi</dc:creator>
      <dc:date>2012-02-16T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: MultilingualContentService initialization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264258#M217388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your code is wrong in different points, contains a mix of local and remote APIs of Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;the WebServiceFactory must be used only when you want to implement a remote Web Services SOAP client: probably you want to use the ServiceRegistry locally but it depends on your requirements&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;AuthenticationUtils.startSession create a new user session (remotely) against a remote Alfresco instance&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ApplicationContextHelper.getApplicationContext() creates a local Alfresco instance in the local JVM!&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Have you tried to take a look at samples in the Alfresco SDK? I suggest to download the SDK&amp;nbsp; :wink: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are your needs for your application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 17:23:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264258#M217388</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2012-02-17T17:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: MultilingualContentService initialization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264259#M217389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The requirement I receive is to model some existing content available on a SQL Server database using Alfresco content management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a batch java application that create a connection with Alfresco and create new content. I do all works (create new content and association) using WebServiceFactory, but, I didn't find any sample to add translation to a node using it so, for that reason, I tried to use ApplicationContextHelper.getApplicationContext().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do that using WebServiceFactory? Where can I found an Example? Looking at SDK I didn't find anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 18:01:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264259#M217389</guid>
      <dc:creator>andrea_girardi</dc:creator>
      <dc:date>2012-02-17T18:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: MultilingualContentService initialization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264260#M217390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't have that service exposed by the Web Services API, you need to create a custom action in the repository and then you can invoke this new custom action using the ActionService exposed by the Web Services API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More information about custom action:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Custom_Actions" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Custom_Actions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2012 10:26:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multilingualcontentservice-initialization/m-p/264260#M217390</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2012-02-18T10:26:07Z</dc:date>
    </item>
  </channel>
</rss>

