<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p
{margin-top:0;
margin-bottom:0}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(166,166,166) solid;
font-family:'Segoe UI','Segoe WP','Segoe UI WPC',Tahoma,Arial,sans-serif;
font-size:10pt;
color:rgb(51,51,51);
z-index:1000}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(214,223,236)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:0px 6px 0px 6px;
vertical-align:middle!important;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
.wf
{speak:none;
font-weight:normal;
font-variant:n
ormal;
text-transform:none;
vertical-align:middle;
display:inline-block}
.wf-family-owa
{font-family:'o365Icons'}
@font-face
{font-family:'o365IconsIE8';
font-weight:normal;
font-style:normal}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Team and Pavol,</p>
<p><br>
</p>
<p> <br>
</p>
<p><br>
</p>
<p> I am Bidhubhusan, following these two steps. Thank you Pavol, for your suggestion.
</p>
<p>1. provideing the OID instead of user name.</p>
<p>2. And using midPoint 3.1-SNAPSHOT . but still getting the same error. and i am now attaching (th java file and the error i got)</p>
<p><br>
</p>
<p>so please give me any solution to make the exception free.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Thanks </p>
<p><br>
</p>
<p>Bidhubhusan<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Pavol Mederly <pavol.mederly@gmail.com><br>
<b>Sent:</b> 23 August 2014 21:17<br>
<b>To:</b> midpoint-dev@lists.evolveum.com<br>
<b>Cc:</b> Bidhubhusan Rout<br>
<b>Subject:</b> Re: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">Hello Bidhubhusan,<br>
<br>
I have two suggestions for you:<br>
<br>
<b>(1)</b> When calling "changeUserPassword" method, you have to provide user OID, not the user name, e.g.<br>
<br>
changeUserPassword(modelPort, <font color="#3333ff">"39732747-3378-4bba-a805-219cf15ad5ea"</font>, "abcdefgh11");<br>
<br>
If you do not know the name, use something like <i>searchUserByName</i> method (see model-client-sample).<br>
<br>
<b>(2)</b> There were some fixes in midPoint WS since 3.0, so, to be safe, use the current snapshot. I have verified that after change described in (1), your client program works correctly against midPoint 3.1-SNAPSHOT.<br>
<br>
Best regards,<br>
Pavol<br>
<br>
<br>
</div>
<blockquote type="cite"><style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(166,166,166) solid;
font-family:'Segoe UI','Segoe WP','Segoe UI WPC',Tahoma,Arial,sans-serif;
font-size:10pt;
color:rgb(51,51,51);
z-index:1000}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(214,223,236)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:0px 6px 0px 6px;
vertical-align:middle!important;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
.wf
{speak:none;
font-weight:normal;
font-variant:n
ormal;
text-transform:none;
vertical-align:middle;
display:inline-block}
.wf-family-owa
{font-family:'o365Icons'}
@font-face
{font-family:'o365IconsIE8';
font-weight:normal;
font-style:normal}
-->
</style>
<p>Hi Team (midpoint-dev),</p>
<p><br>
</p>
<p> I am Bidhubhusan , try to develop the <strong>java code </strong>in my local system , using (eclipse, jdk7) to
<strong>change user password of midpoint(3.0) user</strong>, and facing some <strong>
issues</strong> to execute my code . and attach the java code and the exception i am getting.</p>
<p>I am using:</p>
<p> <strong> Eclipse-juno</strong></p>
<p><strong> jdk7, jre7</strong></p>
<p><strong> midpoint-3.0</strong><br>
</p>
<p><br>
</p>
<p> so <strong>find</strong> the <strong>code</strong> and try to give me some solution as soon as possible to my mail-id (
<strong><a class="moz-txt-link-abbreviated" href="mailto:bidhubhusan.rout@ilantus.com">bidhubhusan.rout@ilantus.com</a>
</strong>). <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Thanks and Regards</p>
<p><br>
</p>
<p>Bidhubhusan<br>
</p>
This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain,
copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
</blockquote>
<br>
This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain,
copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
</div>
</div>
This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain,
copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
</body>
</html>