<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Shelly and Bidhubhusan,<br>
      <br>
      I have tried your file, and it works without any problems:<br>
      <br>
      <i>C:\Java\jdk1.7.0_40\bin\java -Didea.launcher.port=7532 ...
        com.intellij.rt.execution.application.AppMain
        com.evolveum.midpoint.testing.model.client.sample.ChangePassTest3</i><i><br>
      </i><i>---------Start programe------</i><i><br>
      </i><i>aug 26, 2014 6:17:58 PM
        org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
        buildServiceFromWSDL</i><i><br>
      </i><i>INFO: Creating Service
        {<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/model/model-3">http://midpoint.evolveum.com/xml/ns/public/model/model-3</a>}modelService
        from WSDL:
<a class="moz-txt-link-freetext" href="file:/D:/midpoint/tgit/midpoint/model/model-client/target/classes/xml/ns/private/model/modelWrapper.wsdl">file:/D:/midpoint/tgit/midpoint/model/model-client/target/classes/xml/ns/private/model/modelWrapper.wsdl</a></i><i><br>
      </i><i>SLF4J: Failed to load class
        "org.slf4j.impl.StaticLoggerBinder".</i><i><br>
      </i><i>SLF4J: Defaulting to no-operation (NOP) logger
        implementation</i><i><br>
      </i><i>SLF4J: See
        <a class="moz-txt-link-freetext" href="http://www.slf4j.org/codes.html#StaticLoggerBinder">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further
        details.</i><i><br>
      </i><i><br>
      </i><i>---------Changed user password--------------</i><i><br>
      </i><i>----end programe----</i><i><br>
      </i><i><br>
      </i><i>Process finished with exit code 0</i><i><br>
      </i><br>
      On the server side I've used midpoint 3.1-snapshot (with a couple
      of local changes, none of them related to WS communication.<br>
      <br>
      Perhaps there is a problem in libraries you use for the
      communication. To be sure, can you try to run your code within the
      context of model-client-sample project? I have done exactly that:
      I've taken your file, put it into model-client-sample (folder
      java, package com.evolveum.midpoint.testing.model.client.sample)
      and run it; from within IntelliJ IDEA.<br>
      <br>
      If it would not help, you could send me your whole eclipse project
      so I can run it locally?<br>
      <br>
      Best regards,<br>
      Pavol<br>
      <br>
      <br>
      On 26. 8. 2014 11:49, Shelly Piplani wrote:<br>
    </div>
    <blockquote cite="mid:1409046540376.23829@ilantus.com" type="cite">
      <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>
      <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 style="font-size:11pt"
              color="#000000" face="Calibri, sans-serif"><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
                  style="font-size:11pt" color="#000000" face="Calibri,
                  sans-serif"><b>From:</b> Bidhubhusan Rout<br>
                  <b>Sent:</b> 25 August 2014 17:53<br>
                  <b>To:</b> Pavol Mederly;
                  <a class="moz-txt-link-abbreviated" href="mailto:midpoint-dev@lists.evolveum.com">midpoint-dev@lists.evolveum.com</a><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
                      style="font-size:11pt" color="#000000"
                      face="Calibri, sans-serif"><b>From:</b> Pavol
                      Mederly <a class="moz-txt-link-rfc2396E" href="mailto:pavol.mederly@gmail.com"><pavol.mederly@gmail.com></a><br>
                      <b>Sent:</b> 23 August 2014 21:17<br>
                      <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:midpoint-dev@lists.evolveum.com">midpoint-dev@lists.evolveum.com</a><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 moz-do-not-send="true"
                            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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a moz-do-not-send="true" 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.
    </blockquote>
    <br>
  </body>
</html>