[Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.

Shelly Piplani shelly.piplani at ilantus.com
Tue Aug 26 11:49:00 CEST 2014


Hi Pavol,



This is Shelly.


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.


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.


"javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.


at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)

at com.sun.proxy.$Proxy54.executeChanges(Unknown Source)

at com.test.ChangeMidPass.changeUserPassword(ChangeMidPass.java:139)

at com.test.ChangeMidPass.main(ChangeMidPass.java:50)

Caused by: org.apache.cxf.binding.soap.SoapFault: Fault occurred while processing"




Attached is the code and also  the error message we are getting.

Looking forward for your inputs and help on this issue.


Regards,

Shelly

________________________________
From: Bidhubhusan Rout
Sent: 25 August 2014 17:54
To: Shelly Piplani; Sumit Sharma
Cc: Mahantayya S
Subject: FW: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.



________________________________
From: Bidhubhusan Rout
Sent: 25 August 2014 17:53
To: Pavol Mederly; midpoint-dev at lists.evolveum.com
Subject: RE: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.


Hi Team and Pavol,





    I am Bidhubhusan, following these two steps. Thank you Pavol, for your suggestion.

1. provideing the OID instead of user name.

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)


so please give me any solution to make the exception free.




Thanks


Bidhubhusan


________________________________
From: Pavol Mederly <pavol.mederly at gmail.com>
Sent: 23 August 2014 21:17
To: midpoint-dev at lists.evolveum.com
Cc: Bidhubhusan Rout
Subject: Re: [Midpoint-dev] ISSUES-MIDPOINT_ JAVA_CODE--TO--CHANGE USER PASSWORD.

Hello Bidhubhusan,

I have two suggestions for you:

(1) When calling "changeUserPassword" method, you have to provide user OID, not the user name, e.g.

changeUserPassword(modelPort, "39732747-3378-4bba-a805-219cf15ad5ea", "abcdefgh11");

If you do not know the name, use something like searchUserByName method (see model-client-sample).

(2) 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.

Best regards,
Pavol



Hi Team (midpoint-dev),


         I am Bidhubhusan , try to develop the java code in my local system , using (eclipse, jdk7) to change user password of midpoint(3.0) user, and facing some issues to execute my code . and attach the java code and the exception i am getting.

I am using:

                Eclipse-juno

                jdk7, jre7

                midpoint-3.0


    so find the code and try to give me some solution as soon as possible to my mail-id ( bidhubhusan.rout at ilantus.com<mailto:bidhubhusan.rout at ilantus.com> ).




Thanks and Regards


Bidhubhusan

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.


_______________________________________________
midPoint-dev mailing list
midPoint-dev at lists.evolveum.com<mailto:midPoint-dev at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint-dev


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.
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140826/8d5f33d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangePassTest3.java
Type: application/octet-stream
Size: 5326 bytes
Desc: ChangePassTest3.java
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140826/8d5f33d1/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ERROR12.txt
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20140826/8d5f33d1/attachment-0001.txt>


More information about the midPoint-dev mailing list