<?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 SDK 1.4 Preview: Errors trying to run Samples in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44762#M24734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;has anyone tried out the samples with the SDK 1.4 Preview?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to correct a couple of the dependency jars in the eclipse projects provided (mostly due to naming/version issues in the jars).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the the projects finally build without errors, but I am getting the following exception when trying to run any of the samples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Exception in thread "main" org.alfresco.webservice.util.WebServiceException: Error starting session.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:85)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.sample.webservice.GetStores.main(GetStores.java:42)&lt;BR /&gt;Caused by: (404)/AuthenticationService&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.Call.invokeEngine(Call.java:2784)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.Call.invoke(Call.java:2767)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.Call.invoke(Call.java:2443)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.Call.invoke(Call.java:2366)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.client.Call.invoke(Call.java:1812)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub.startSession(AuthenticationServiceSoapBindingStub.java:187)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:70)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 1 more&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample is run from my local workstation with the SDK 1.4 preview workspace against a windows box with a 1.4 preview community edition (fresh install). The web client on that box is running fine, by the way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar setup with all 1.3 where the problem does not occur and the samples are running fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea what is going on there? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the good work so far. Looking forward to your hints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oliver.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 10:36:10 GMT</pubDate>
    <dc:creator>osu</dc:creator>
    <dc:date>2006-09-15T10:36:10Z</dc:date>
    <item>
      <title>SDK 1.4 Preview: Errors trying to run Samples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44762#M24734</link>
      <description>Hi,has anyone tried out the samples with the SDK 1.4 Preview?I had to correct a couple of the dependency jars in the eclipse projects provided (mostly due to naming/version issues in the jars).Now, the the projects finally build without errors, but I am getting the following exception when trying to</description>
      <pubDate>Fri, 15 Sep 2006 10:36:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44762#M24734</guid>
      <dc:creator>osu</dc:creator>
      <dc:date>2006-09-15T10:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 1.4 Preview: Errors trying to run Samples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44763#M24735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a problem with the v1.4 too,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the WebServiceFactory class and saw this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private static final String DEFAULT_ENDPOINT_ADDRESS = "&lt;A href="http://localhost:8080/alfresco/api" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api&lt;/A&gt;";&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;instead of just "&lt;/SPAN&gt;&lt;A href="http://localhost:8080" rel="nofollow noopener noreferrer"&gt;http://localhost:8080&lt;/A&gt;&lt;SPAN&gt;" in the previous versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so I changed the &lt;/SPAN&gt;&lt;STRONG&gt;repository.location&lt;/STRONG&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;STRONG&gt;webserviceclient.properties&lt;/STRONG&gt;&lt;SPAN&gt; and add /alfresco/api at the end of the repository address and now it's working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems the Alfresco team forgot to update this file in the SDK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 13:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44763#M24735</guid>
      <dc:creator>blackadder</dc:creator>
      <dc:date>2006-09-18T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 1.4 Preview: Errors trying to run Samples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44764#M24736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Matthieu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like you are correct, we'll try and make sure this is updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 08:01:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44764#M24736</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-09-19T08:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 1.4 Preview: Errors trying to run Samples</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44765#M24737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;so I changed the &lt;STRONG&gt;repository.location&lt;/STRONG&gt; in &lt;STRONG&gt;webserviceclient.properties&lt;/STRONG&gt; and add /alfresco/api at the end of the repository address and now it's working fine.&lt;BR /&gt;It seems the Alfresco team forgot to update this file in the SDK.&lt;BR /&gt;Cheers,&lt;BR /&gt;Matthieu&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Matthieu, thanks for the hint. Worked for me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oliver.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 13:40:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sdk-1-4-preview-errors-trying-to-run-samples/m-p/44765#M24737</guid>
      <dc:creator>osu</dc:creator>
      <dc:date>2006-09-19T13:40:28Z</dc:date>
    </item>
  </channel>
</rss>

