410 response while creating artifacts with OSLC REST in DNG version 7.0.2
Hello everyone,
I am trying to create an artifact in DNG using OSLC REST capabilities. I was able to do by following the steps mentioned in this article in DNG for version 6.0.6.
Now, I am trying the same steps in a newer version 7.0.2 but I get an 410 GONE response from the DNG server.
Details of the request made to server:
Action: POST
URL: https://grarrc.ibm.com:9443/rm/requirementFactory?projectURL=https://grarrc.ibm.com:9443/jts/process/project-areas/_zpWqELrZEeG3OKR6fZ1svQ
Payload:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/" xmlns:public_rm_10="http://www.ibm.com/xmlns/rm/public/1.0/" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/" xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/" xmlns:acp="http://jazz.net/ns/acp#" xmlns:rm_property="https://grarrc.ibm.com:9443/rm/types/" xmlns:oslc="http://open-services.net/ns/core#" xmlns:nav="http://jazz.net/ns/rm/navigation#" xmlns:oslc_rm="http://open-services.net/ns/rm#"> <rdf:Description rdf:about=""> <rdf:type rdf:resource="http://open-services.net/ns/rm#Requirement"/> <dc:description rdf:parseType="Literal">OSLC Creation Example</dc:description> <dc:title rdf:parseType="Literal">OSLC Created Requirement</dc:title> <oslc:instanceShape rdf:resource="https://grarrc.ibm.com:9443/rm/types/_0dbyY7rZEeG3OKR6fZ1svQ"/> <nav:parent rdf:resource="https://grarrc.ibm.com:9443/rm/folders/_zpWqELrZEeG3OKR6fZ1svQ"/> </rdf:Description> </rdf:RDF></pre>
Headers:
- Accept = application/rdf+xml
- OSLC-Core-Version = 4.0
- Content-Type = application/rdf+xml
My question is that am I missing something here or is there a newer or different steps for the version 7.0.2?
Best,
Shruti
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 23 '21, 1:19 p.m.