<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle" style="display: none;"><!--P {margin-top:0;margin-bottom:0;}--></style>
<meta content="text/html; charset=iso-8859-1">
<meta content="text/html; charset=iso-8859-1">
<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}
.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" fpstyle="1" aria-label="Message body" tabindex="0" id="">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<p>Hi Pavol,</p>
<p><br>
</p>
<p><br>
</p>
<p>This is Shelly.</p>
<p><br>
</p>
<p>Me and my team is under the process of developing a connector and using the Java Code to change the user password of the IXP user.</p>
<p><br>
</p>
<p>As suggested by you, we are sending OID instead of the userID. Also we tried with midpoint3.1 version. But the results are same. We are still getting the same error.</p>
<p><br>
</p>
<p>"<b>javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.</b></p>
<p><b><br>
</b></p>
<p><b><span class="Apple-tab-span" style="white-space:pre"></span>at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)</b></p>
<p><b><span class="Apple-tab-span" style="white-space:pre"></span>at com.sun.proxy.$Proxy54.executeChanges(Unknown Source)</b></p>
<p><b><span class="Apple-tab-span" style="white-space:pre"></span>at com.test.ChangeMidPass.changeUserPassword(ChangeMidPass.java:139)</b></p>
<p><b><span class="Apple-tab-span" style="white-space:pre"></span>at com.test.ChangeMidPass.main(ChangeMidPass.java:50)</b></p>
<p><b>Caused by: org.apache.cxf.binding.soap.SoapFault: Fault occurred while processing"</b></p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Attached is the code and also  the error message we are getting.</p>
<p><span style="font-size: 12pt;">Looking forward for your inputs and help on this issue.</span></p>
<p><br>
</p>
<p>Regards,</p>
<p>Shelly</p>
<div dir="ltr" style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Bidhubhusan Rout<br>
<b>Sent:</b> 25 August 2014 17:54<br>
<b>To:</b> Shelly Piplani; Sumit Sharma<br>
<b>Cc:</b> Mahantayya S<br>
<b>Subject:</b> FW: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.</font>
<div> </div>
</div>
<div>
<p><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Bidhubhusan Rout<br>
<b>Sent:</b> 25 August 2014 17:53<br>
<b>To:</b> Pavol Mederly; midpoint-dev@lists.evolveum.com<br>
<b>Subject:</b> RE: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.</font>
<div> </div>
</div>
<div>
<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 color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><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}
-->
BODY {font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0}BODY {font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0}BODY {font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0}BODY {font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0}</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>
</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.
</div>
</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>