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

Why isn't oslc:queryCapability in services.xml

I am trying to follow some OSLC examples and learn how this framework works so that I can write some custom code to update links and attributes.

I am following some very basic things to get to the services.xml file:

1) https://jazz-qual.mydomain.gov/rm/rootservices

2) Use what is found in oslc_rm:rmServiceProviders to get the link to the catalog:  https://jazz-prod.mydomain.gov/rm/oslc_rm/catalog

3) Use the catalog to get the link to the services:  https://jazz-prod.mydomain.gov/rm/oslc_rm/_is19wjaFEeO8EPbPINYtfA/services.xml

4) Then when I view the services.xml, the content is limited.  There is no tag for oslc:queryCapability.  The tags I have in services.xml are:

<oslc_rm:LinkCreationServices>
<oslc_rm:CollectionSelectionDialog>
<oslc_rm:SelectionDialog>

and that is it.  I was expecting to have a URI for the query service.

I am running DNG version 6.0.3.  How can I access the query service?


0 votes


Accepted answer

Permanent link
Hello
Are you using the required Headers?  OSLC-COre-Version=2.0 and Accept=application/xml or application/rdf+xml
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

That was the issue.  Once I added these to the header, I can now see many more services.

Thank you

Becky
Can you mark this answer as the accepted answer using the hyperlink?

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
× 12,033

Question asked: Jul 25 '18, 3:28 p.m.

Question was seen: 1,642 times

Last updated: Jul 25 '18, 5:50 p.m.

Confirmation Cancel Confirm