It's all about the answers!

Ask a question

OSLC - query and results


Bartosz Chrabski (3.4k22949) | asked Mar 25 '13, 9:16 a.m.
retagged May 28 '13, 5:42 p.m. by Martha (Ruby) Andrews (3.0k44351)
 Hi Experts,

As I am building interface consuming OSLC services I generated some questions which maybe you will be able to answer.

I am trying to query db to find project WI with person name who is contributor.

Used query

https://zzti-rtc.zie.pg.gda.pl:8080/ccm/oslc/contexts/_Lwd02zlFEeGMfqLW3GHQIg/workitems?oslc.select=dcterms:title,dcterms:contributor{foaf:name}

and result:

<rdf:RDF xmlns:oslc="http://open-services.net/ns/core#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <rdf:Description rdf:nodeID="A0"> <oslc:message>null</oslc:message> <oslc:statusCode>500</oslc:statusCode> <rdf:type rdf:resource="http://open-services.net/ns/core#Error"/> </rdf:Description> </rdf:RDF>

without {foaf:name} it works but I get url to user.

2 answers




permanent link
Stephane Leroy (1.4k149) | answered May 31 '13, 1:30 p.m.
JAZZ DEVELOPER
Hi Bartosz,

your query worked (*) for me with and without {foaf:name}. Both in 4.0.0.1 and 4.0.3 RC1
Do you still reproduce ?
Which version did you use ?

Regards,
Stéphane

(*): fyi. I've used the "traditional" headers  : OSLC-Core-Version: 2.0, Content-Type: application/xml,  Accept: application/xml


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.