PUT Method is not working to Update the resources using OSLC Automation Adapter REST API 2.0 in RQM 4.0.1
Hi,
I am using OSLC REST API 2.0 for the Automation Command line Adapter. I am able to send the GET method to retrieve the adapter resources. I am also able to send a POST request to create some Adapter resources. But i am not able to send a PUT request to update the Adapter resources to the RQM server . I am getting the following error while sending a PUT request on the Adapter Execution Request URI. Request URI: https://localhost:9443/qm/oslc_auto_test/contexts/_XuU7EtipEeKLqPNrxkUozA/resources/com.ibm.rqm.execution.ExecutionRequest Request XML: <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/" xmlns:rqm_auto="http://jazz.net/ns/auto/rqm#" xmlns:rqm_qm="http://jazz.net/ns/qm/rqm#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:acp="http://jazz.net/ns/acp#" xmlns:oslc="http://open-services.net/ns/core#" xmlns:oslc_auto="http://open-services.net/ns/auto#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:oslc_qm="http://open-services.net/ns/qm#" xmlns:bp="http://open-services.net/ns/basicProfile#"> <oslc_auto:AutomationRequest rdf:about="https://localhost:9443/qm/oslc_auto_test/contexts/_XuU7EtipEeKLqPNrxkUozA/resources/com.ibm.rqm.execution.ExecutionRequest/_svRUsO-nEeKVoMEgZn1y1g"> <rqm_auto:taken rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</rqm_auto:taken> </oslc_auto:AutomationRequest> </rdf:RDF>
Any guidance regarding update the adapter resources in the RQM server using OSLC REST API 2.0 ?? Thanks -Rahul |
Accepted answer
Hi Rahul, thanks for your question.
According to OSLC specification, the PUT method of automation request is optional. So it is possible that it is not supported in RQM. To find more information about available methods of automation resource, please go to Automation Service Provider HTTP method support.
Rahul Singh Bhadauriya selected this answer as the correct answer
Comments
Rahul Singh Bhadauriya
commented Jul 25 '13, 5:03 a.m.
Hi Chenyue,
|
One other answer
Hi Rahul
Could you please explain what exactly you have followed. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.