Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Query the Asset using http://server:8080/ram/oslc/simpleQuer

query the asset using http://server:8080/ram/oslc/simpleQuery?oslc_asset.query=title="xxx". The return has not included any atom entry. I search with the same name in the web ui, it return the result.

BTW, in the current version, we do not need login when we do search. Is it correct?

0 votes



5 answers

Permanent link
Try ....?oslc_asset.query=dc:title="*" (dc:title, vs. title)

Permissions works as usual... if you use the web ... the same session would be used for your rests calls.

0 votes


Permanent link
You do not have to log in to use the OSLC search on the web war (http://server:8080/ram/oslc/simpleQuery) but it will only return assets visible to an anonymous user. To get results as a specific user you need to login to the session prior to calling http://server:8080/ram/oslc/simpleQuery.

If you are performing this search through a remote client (not the browser) you may want to use BASIC authentication on the web services war (http://server:8080/ram.ws/oslc/simpleQuery).

0 votes


Permanent link
Try ....?oslc_asset.query=dc:title="*" (dc:title, vs. title)

Permissions works as usual... if you use the web ... the same session would be used for your rests calls.


I try it. But it retured, could not parse query term: dc:title=*

0 votes


Permanent link
It looks like you lost the quotes around the *.

dc:title="*" not dc:title=*

0 votes


Permanent link
It looks like you lost the quotes around the *.

dc:title="*" not dc:title=*


No, I use the dc:title="*", not dc:title=*

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 27 '10, 9:33 p.m.

Question was seen: 8,094 times

Last updated: May 27 '10, 9:33 p.m.

Confirmation Cancel Confirm