<?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 Problem logging as 'admin, admin' using Webservice in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-logging-as-admin-admin-using-webservice/m-p/69060#M44365</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 am a newbie and trying to exploring the webservice api :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run FirstWebservicesClient in SDK, I was able to login using &lt;/SPAN&gt;&lt;STRONG&gt;AuthenticationUtils.startSession("admin", "admin");&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I was trying to get a ticket and hence was trying to log using&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;String ticket = WebServiceFactory.getAuthenticationService().startSession("admin","admin").getTicket();&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the below error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;WSDoAllSender: password callback class provided null or empty password&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Another Question &lt;/EM&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do anybody have sample code on how to give a link in my web-application to a document in Alfresco Repository ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or any sample code to download a document or image in a given folder ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Lalli.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2006 13:25:31 GMT</pubDate>
    <dc:creator>lalli</dc:creator>
    <dc:date>2006-12-06T13:25:31Z</dc:date>
    <item>
      <title>Problem logging as 'admin, admin' using Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-logging-as-admin-admin-using-webservice/m-p/69060#M44365</link>
      <description>Hi,I am a newbie and trying to exploring the webservice api :When I run FirstWebservicesClient in SDK, I was able to login using AuthenticationUtils.startSession("admin", "admin");Now I was trying to get a ticket and hence was trying to log usingString ticket = WebServiceFactory.getAuthenticationSer</description>
      <pubDate>Wed, 06 Dec 2006 13:25:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-logging-as-admin-admin-using-webservice/m-p/69060#M44365</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2006-12-06T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem logging as 'admin, admin' using Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-logging-as-admin-admin-using-webservice/m-p/69061#M44366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I could get a valid ticket as below &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Start the session&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AuthenticationUtils.startSession("admin", "admin");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String ticket = AuthenticationUtils.getCurrentTicket();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but though not sure why &lt;/SPAN&gt;&lt;STRONG&gt;String ticket = WebServiceFactory.getAuthenticationService().startSession("admin","admin").getTicket(); &lt;/STRONG&gt;&lt;SPAN&gt;did not return a valid ticket ?&amp;nbsp; Is it because the session is not yet created ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 05:17:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-logging-as-admin-admin-using-webservice/m-p/69061#M44366</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2006-12-08T05:17:57Z</dc:date>
    </item>
  </channel>
</rss>

