Conflict when posting OSLC AutomationResult
![]()
Hannes H. (44●10●19)
| asked Jul 08 '13, 7:14 a.m.
retagged Jul 22 '13, 4:37 p.m. by Ralph Earle (257●3●9)
When I post an OSLC AutomationResult I get the response message "Conflict". The resources that you can see in the RDF-document exist. How can I find out more details about this issue? The only message I get from the server is "Conflict".
------------------------------------------------------------------------------------------------------------------------ Here is my OSLC AutomationRequest: ------------------------------------------------------------------------------------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:j.0="http://open-services.net/ns/auto#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > <rdf:Description rdf:nodeID="A0"> <rdf:subject rdf:nodeID="A1"/> <rdf:predicate rdf:resource="http://open-services.net/ns/auto#producedByAutomationRequest"/> <rdf:object rdf:resource="https://jazz.net/sandbox02-qm/oslc_auto_test/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.execution.ExecutionRequest/_YNaBIOe6EeK6iZ_J9hjFEQ"/> <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/> </rdf:Description> <rdf:Description rdf:nodeID="A1"> <j.0:reportsOnAutomationPlan rdf:resource="https://jazz.net/sandbox02-qm/oslc_auto_test/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.execution.TestcaseExecutionRecord/_XImVMOe6EeK6iZ_J9hjFEQ"/> <j.0:producedByAutomationRequest rdf:resource="https://jazz.net/sandbox02-qm/oslc_auto_test/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.execution.ExecutionRequest/_YNaBIOe6EeK6iZ_J9hjFEQ"/> <j.0:state rdf:resource="http://open-services.net/ns/auto#new"/> <j.0:verdict rdf:resource="http://open-services.net/ns/auto#passed"/> <dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">TestCase1_20130708_123637146</dcterms:title> <rdf:type rdf:resource="http://open-services.net/ns/auto#AutomationResult"/> </rdf:Description> <rdf:Description rdf:nodeID="A2"> <rdf:subject rdf:nodeID="A1"/> <rdf:predicate rdf:resource="http://open-services.net/ns/auto#reportsOnAutomationPlan"/> <rdf:object rdf:resource="https://jazz.net/sandbox02-qm/oslc_auto_test/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.execution.TestcaseExecutionRecord/_XImVMOe6EeK6iZ_J9hjFEQ"/> <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/> </rdf:Description> </rdf:RDF> ------------------------------------------------------------------------------------------------------------------------ This is RQM's response: ------------------------------------------------------------------------------------------------------------------------ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml-stylesheet type="text/xsl" href="https://jazz.net/sandbox01-qm/web/com.ibm.rqm.oslc.web/ui/internal/style/ErrorStyle.xsl"?> <rdf:RDF xmlns:jproc="http://jazz.net/xmlns/prod/jazz/process/1.0/" xmlns:oslc_qm="http://open-services.net/ns/qm#" xmlns:ns6="http://open-services.net/xmlns/qm/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc_disc="http://open-services.net/xmlns/discovery/1.0/" xmlns:jpres="http://jazz.net/xmlns/prod/jazz/presentation/1.0/" xmlns:oslc="http://open-services.net/ns/core#" xmlns:rqm_qm="http://jazz.net/ns/qm/rqm#" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <oslc:Error ns12:type="oslc:Error" xmlns:ns12="http://www.w3.org/2001/XMLSchema-instance"> <oslc:statusCode>409</oslc:statusCode> <oslc:message>AQXCM5009E https://jazz.net/sandbox01-qm/oslc_auto_test/contexts/_OZCwEMd5EeKMeq2cNn66b" A/resources/com.ibm.rqm.execution.ExecutionResult was not executed because a lifecycle operation error occurred. </oslc:message> <oslc:extendedError> <oslc:ExtendedError> <oslc:moreInfo rdf:resource="https://jazz.net/clmhelp/topic/com.ibm.messages.CLMic/AQXCM5009E.html"/> <oslc:rel>alternate</oslc:rel> </oslc:ExtendedError> </oslc:extendedError> <rqm_qm:clientLocale>en-us</rqm_qm:clientLocale> </oslc:Error> </rdf:RDF> |
One answer
![]()
It appear you are not PUTting the most version of the OSLC resource. Check the RQM server logs for more details.
|
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.