
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
updating event using REST
OBM 2020.05
I am trying to update event using RestWsUtil.sh but it fails with below error,
Operation requires authentication. Please enter the correct login name and password.
I am using below command from GW server,
RestWsUtil.sh -update /tmp/update.xml -username jessy -password jessy123 -url "https://GW-Server/opr-web/rest/9.10/event_list/331a1812-3246-71eb-006f-0a2b53230000"
where update.xml contains,
<event xmlns="http://www.hp.com/2009/software/opr/data_model">
<state>resolve</state>
</event>
I even tried with super admin user, but got same error, please help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Dear All
I did some changes and used new user with super admin rights and now event is getting updated correctly.
However I need to use this in groovy script and I do not want to expose user name and password details, I heard there is an .rc file which can be used for user details, please can you shed me more light on this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Ramesh,
Check the option -set_rc of opr-rest-ws-util at:
https://docs.microfocus.com/itom/Operations_Bridge_Manager:2020.05/Clirestwsutil
Regards,
Thierry.