How do you update RDNG process template using HTTP clients?
One answer
Normally you one could use RTC Eclipse client to connect to /rm or depending your context of RM server. And update the XML source directly in the Eclipse client and save.
In some case Eclipse client cannot be used or you wanted to HTTP clients, such as HTTP Requester. Here are the steps.
1. Use HTTP requester to do a GET for the affected process template
(example, https://clm603.ibm.com:9443/rm/process/project-areas/_-3BQwPrGEeeNJLzI7Sh8JA/spec)
the UUID of the project are can be found from RM Manage this project link)
2. Set headers to Accept Application/xml
3. Click on GET
4. You will get response code 200 with XML process template
5. Paste the entire content to notepad
6. To Update process template
7. Paste the updated notepad content back into HTTP requester (inside Content to send)
For POST to update, you need to set two headers
Accept : application/xml
X-Jazz-CSRF-Prevent and JSession ID of the project area (you can use fireBug to get the session id)
If some reasons, X-Jazz-CSRF-Prevent do not work, you can use another Referer
Referer : https://clm603.ibm.com:9443/rm/web
8. Do a POST to update the process template
If POST is successful you will see message 201 created.
Note, before perform a GET on RM, you need to login from the browser session.