<?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 changePassword error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/changepassword-error/m-p/135965#M95380</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 need to change a user password via web services, so I was trying to use the method changePassword in the class AdministrationServiceSoapBindingStub.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know the old password, so I fill the second parameter with null as I read in the documentation, but I get "Non nillable element 'message1' is null.".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main part of the source code is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;AuthenticationUtils.startSession("admin", "admin");&lt;BR /&gt;AdministrationServiceSoapBindingStub admin = WebServiceFactory.getAdministrationService();&lt;BR /&gt;admin.changePassword(username, [b]null[/b], newpassword);&lt;BR /&gt;AuthenticationUtils.endSession();&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When I fill the second parameter with the right old password, it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 18:04:38 GMT</pubDate>
    <dc:creator>grosisimo</dc:creator>
    <dc:date>2007-12-26T18:04:38Z</dc:date>
    <item>
      <title>changePassword error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changepassword-error/m-p/135965#M95380</link>
      <description>HiI need to change a user password via web services, so I was trying to use the method changePassword in the class AdministrationServiceSoapBindingStub.I don't know the old password, so I fill the second parameter with null as I read in the documentation, but I get "Non nillable element 'message1' i</description>
      <pubDate>Wed, 26 Dec 2007 18:04:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changepassword-error/m-p/135965#M95380</guid>
      <dc:creator>grosisimo</dc:creator>
      <dc:date>2007-12-26T18:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: changePassword error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changepassword-error/m-p/135966#M95381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was I was using alfresco 2.1. Taking a look at the source code, i saw it didn't check whether the user was or not the admin. In alfresco 2.9 the source was different and it did check, so I installed an alfresco 2.9 night built and it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, next time someone says "just set null as the old password", advice you are talking about alfresco 2.9.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks anyway&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 18:03:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changepassword-error/m-p/135966#M95381</guid>
      <dc:creator>grosisimo</dc:creator>
      <dc:date>2007-12-27T18:03:23Z</dc:date>
    </item>
  </channel>
</rss>

