Hi all,
at the moment I'm playing around with the Soap-interface from OX. I have a php Script which should change for example the users display_name.
When I want to change the display_name without changing the users password, that isn't possible. Is it right, that I can't change a users attribute without changing the password of that user? I think that _must_ be possible. (The CLT's can do that)
Notes:
If I send a UserObject with an empty password-attribute the OX says:
If I send a UserObject without the password-attribute the OX says:
But if I send a UserObject with a new password, the attributes I wanted to change are chagned, but the password is also change, which I didn't want.
Can somebody give me a hint?
Bye,
moah
at the moment I'm playing around with the Soap-interface from OX. I have a php Script which should change for example the users display_name.
When I want to change the display_name without changing the users password, that isn't possible. Is it right, that I can't change a users attribute without changing the password of that user? I think that _must_ be possible. (The CLT's can do that)
Notes:
If I send a UserObject with an empty password-attribute the OX says:
Field "password" is a mandatory field and can't be set to null.
Exception occurred while trying to invoke service method change
[...]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor866.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServi ceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver. invokeBusinessLogic(RPCMessageReceiver.java:102)
... 17 more
Caused by: java.lang.NullPointerException
at com.openexchange.admin.rmi.impl.OXUser.checkChange UserData(OXUser.java:1120)
at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:188)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unkn own Source)
[...]
[...]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor866.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServi ceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver. invokeBusinessLogic(RPCMessageReceiver.java:102)
... 17 more
Caused by: java.lang.NullPointerException
at com.openexchange.admin.rmi.impl.OXUser.checkChange UserData(OXUser.java:1120)
at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:188)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unkn own Source)
[...]
Can somebody give me a hint?
Bye,
moah
Comment