It's all about the answers!

Ask a question

410 response while creating artifacts with OSLC REST in DNG version 7.0.2

Shruti Chitrakar (11) | asked Jun 23, 9:03 a.m.

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



<rdf:RDF xmlns:rdf="" xmlns:dc=""
         xmlns:calm="" xmlns:rm=""
         xmlns:acp="" xmlns:rm_property=""
         xmlns:oslc="" xmlns:nav=""
    <rdf:Description rdf:about="">
        <rdf:type rdf:resource=""/>
        <dc:description rdf:parseType="Literal">OSLC Creation Example</dc:description>
        <dc:title rdf:parseType="Literal">OSLC Created Requirement</dc:title>
        <oslc:instanceShape rdf:resource=""/>
        <nav:parent rdf:resource=""/>


  • 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?


Ian Barnard commented Jun 23, 1:18 p.m. | edited Jun 23, 1:19 p.m.
Sorry to be a bit vague but I've not tried this recently

  • OSLC-Core-Version = 4.0 
looks wrong - AFAIK you should use 2.0, i.e. 
  • OSLC-Core-Version = 2.0  
Confirm the oslc:instanceShape and nav:parent URLs are correct.

Is this  project configuration-management enabled? If so you *must* use a configuration header with the local configuration URL, and it's possible the projectURL will need to point at the component you're creating the requirement in - not sure about that.

Be the first one to answer this question!

Register or to post your answer.