It's all about the answers!

Ask a question

rm oslc query in 6.0.1 not returning result


Binoy D'costa (9532737) | asked Feb 03 '16, 1:44 p.m.
edited Feb 03 '16, 1:45 p.m.
I have an oslc query that finds an artifact by id that is working fine in 5.0.2 version but doesn't return any result in 6.0.1:

https://clmserver/rm/views?oslc.query=true&projectURL=https://clmserver/rm/process/project-areas/_1EZPYv4HEeKL_I7Ey58H1w&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=*&oslc.where=dcterms:identifier=2917

The result output I get:

<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:h="http://www.w3.org/TR/REC-html40"
    xmlns:xs="http://schema.w3.org/xs/"
    xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/"
    xmlns:jazz_rm="http://jazz.net/ns/rm#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:oslc="http://open-services.net/ns/core#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:nav="http://jazz.net/ns/rm/navigation#"
    xmlns:jfs="http://jazz.net/xmlns/foundation/1.0/"
    xmlns:oslc_rm="http://open-services.net/ns/rm#">
  <oslc:ResponseInfo rdf:about="https://clmserver/rm/views?oslc.query=true&amp;projectURL=https://clmserver/rm/process/project-areas/_1EZPYv4HEeKL_I7Ey58H1w&amp;oslc.prefix=dcterms=%3Chttp://purl.org/dc/terms/%3E&amp;oslc.select=*&amp;oslc.where=dcterms:identifier=2917">
    <dcterms:title>Query Results</dcterms:title>
  </oslc:ResponseInfo>
</rdf:RDF>

Any ideas?

Thanks,
Binoy

One answer



permanent link
Donald Nong (14.5k614) | answered Feb 04 '16, 11:08 p.m.
It works for me with RDNG 6.0.1. Your output basically says that the query cannot find any artifacts matching the condition. Make sure that artifact 2917 is indeed in the project area.

Your answer


Register or to post 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.