<?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: problem accessing content after logging using webservices in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47578#M27028</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;As far as I know, which is not too much unfortunately, the ticket is valid for as long as the session is up… so the user should be logged as long as the ticket is valid…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at &lt;/SPAN&gt;&lt;STRONG&gt;sam69&lt;/STRONG&gt;&lt;SPAN&gt; comments about "opened web service transaction" on &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=3973" rel="nofollow noopener noreferrer"&gt;this thread&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe your problem is that you close the session after getting the ticket…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2007 09:49:08 GMT</pubDate>
    <dc:creator>doblek</dc:creator>
    <dc:date>2007-02-27T09:49:08Z</dc:date>
    <item>
      <title>problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47574#M27024</link>
      <description>I am using Alfresco V1.4 and working with webservice api.From Alfresco Web Client, I created a user "lalli" and same password using admin rights.&amp;nbsp; Now in my application I try to access a node after starting the session as below :AuthenticationUtils.startSession("lalli", "lalli");I am successfully lo</description>
      <pubDate>Mon, 18 Dec 2006 13:33:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47574#M27024</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2006-12-18T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47575#M27025</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;You need to put ?ticket=&amp;lt;ticketid&amp;gt; at the end of the download URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ticket is in the response to the start session web service call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 15:27:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47575#M27025</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-12-18T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47576#M27026</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;Thanx for the instant response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have one more query.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I open this &lt;/SPAN&gt;&lt;A href="http://127.0.0.1:8080/alfresco/download/direct/workspace/SpacesStore/36136779-8421-11db-a9f8-cb5a7c360dcd/a.doc?ticket=" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/download/direct/workspace/SpacesStore/36136779-8421-11db-a9f8-cb5a7c360dcd/a.doc?ticket=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;ticketID&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in this a.doc, I have a link to another document which is also in the same space and accessible to the logged in user.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the link has URL (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/download/direct/workspace/SpacesStore/9a79396f-8e82-11db-8023-cb6075826aaf/sec.doc" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/download/direct/workspace/SpacesStore/9a79396f-8e82-11db-8023-cb6075826aaf/sec.doc&lt;/A&gt;&lt;SPAN&gt;) and when I click on this link, it does not open the document and asks me for logging, but i have already logged in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I append the ticket to this link which is in the document ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need this info urgently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lalli.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 04:06:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47576#M27026</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2006-12-19T04:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47577#M27027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;any answer for my above question.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 12:03:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47577#M27027</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2007-02-26T12:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47578#M27028</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;As far as I know, which is not too much unfortunately, the ticket is valid for as long as the session is up… so the user should be logged as long as the ticket is valid…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at &lt;/SPAN&gt;&lt;STRONG&gt;sam69&lt;/STRONG&gt;&lt;SPAN&gt; comments about "opened web service transaction" on &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=3973" rel="nofollow noopener noreferrer"&gt;this thread&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe your problem is that you close the session after getting the ticket…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 09:49:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47578#M27028</guid>
      <dc:creator>doblek</dc:creator>
      <dc:date>2007-02-27T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47579#M27029</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;I solved the above problem where it was asking me to login inspite of logging thru webservices in my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was the first document which I accessed used to return me the URL with the hostname (eg : &lt;/SPAN&gt;&lt;A href="http://abc.def.com:8080/" rel="nofollow noopener noreferrer"&gt;http://abc.def.com:8080/&lt;/A&gt;&lt;SPAN&gt;…. ) instead of the IP (eg : &lt;/SPAN&gt;&lt;A href="http://10.1.1.1:8080/" rel="nofollow noopener noreferrer"&gt;http://10.1.1.1:8080/&lt;/A&gt;&lt;SPAN&gt;…) as my alfresco is running in Linux m/c.&amp;nbsp; Now in the first document, i had link pointing to the sec one which was absolute path (&lt;/SPAN&gt;&lt;A href="http://10.1.1.1:8080/.../b.html" rel="nofollow noopener noreferrer"&gt;http://10.1.1.1:8080/.../b.html&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i converted the hostname to the IP and my problem is solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 04:41:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47579#M27029</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2007-03-07T04:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem accessing content after logging using webservices</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47580#M27030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi lally:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem with the hostname and IP name, how did you do to solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 16:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-content-after-logging-using-webservices/m-p/47580#M27030</guid>
      <dc:creator>alcazar</dc:creator>
      <dc:date>2007-06-19T16:09:03Z</dc:date>
    </item>
  </channel>
</rss>

