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

DOORS OSLC Services

I’m working through examples and these articles:
- https://jazz.net/library/article/1197
- http://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/

But it goes wrong here: Where I get all the services, according to the example I should be getting the following:
<oslc:CreationFactory>
<dcterms:title rdf:parseType="Literal">Requirement Creation Factory</dcterms:title>
<oslc:creation rdf:resource="https://grarrc.ibm.com:9443/rm/requirementFactory?projectURL=https://grarrc.ibm.com:9443/jts/process/project-areas/_zpWqELrZEeG3OKR6fZ1svQ" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement" />
<oslc:resourceShape rdf:resource="https://grarrc.ibm.com:9443/rm/types/_0Z8ZgrrZEeG3OKR6fZ1svQ" />
<oslc:resourceShape rdf:resource="https://grarrc.ibm.com:9443/rm/types/_0aWpMrrZEeG3OKR6fZ1svQ" />
<oslc:resourceShape rdf:resource="https://grarrc.ibm.com:9443/rm/types/_0cxEALrZEeG3OKR6fZ1svQ" />
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
</oslc:CreationFactory>

Below is what I get. I should get a Query Capability and/or Creation Factory, But I only get Delegated UI dialog nodes: CollectionSelectionDialog, SelectionDialog.

I cannot find a place in DOORS where these services are enabled. What must I set up to get DOORS to expose these services as well.




https://jazzserver:9443/rm/oslc_rm/_aPM48BvhEeWSspTLOXWHOg/services.xml

<?xml version="1.0" encoding="UTF-8"?>
  <oslc_rm:ServiceDescriptor xmlns:oslc_rm="http://open-services.net/xmlns/rm/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:about="https://jazzserver:9443/rm/oslc_rm/_aPM48BvhEeWSspTLOXWHOg/services.xml">
    <oslc_rm:links>
      <oslc_rm:LinkCreationServices>
        <oslc_rm:validatedByLinkFactory rdf:resource="https://jazzserver:9443/rm/links/oslc/validatedByLinks"/>
        <oslc_rm:implementedByLinkFactory rdf:resource="https://jazzserver:9443/rm/links/oslc/implementedByLinks"/>
      </oslc_rm:LinkCreationServices>
    </oslc_rm:links>
    <oslc_rm:collections>
      <oslc_rm:CollectionSelectionDialog>
        <oslc_rm:heightHint>550px</oslc_rm:heightHint>
        <oslc_rm:widthHint>800px</oslc_rm:widthHint>
        <oslc_rm:widget rdf:resource="https://jazzserver:9443/rm/_ajax-modules/com.ibm.rdm.web.CollectionPicker?projectURL=https%3A%2F%2Fjazzserver%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_aPM48BvhEeWSspTLOXWHOg"/>
        <dc:title xmlns:dc="http://purl.org/dc/terms/">Collection Selection</dc:title>
      </oslc_rm:CollectionSelectionDialog>
    </oslc_rm:collections>
    <oslc_rm:requirements>
      <oslc_rm:SelectionDialog>
        <oslc_rm:heightHint>550px</oslc_rm:heightHint>
        <oslc_rm:widthHint>800px</oslc_rm:widthHint>
        <oslc_rm:widget rdf:resource="https://jazzserver:9443/rm/_ajax-modules/com.ibm.rdm.web.RRCPicker?projectURL=https%3A%2F%2Fjazzserver%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_aPM48BvhEeWSspTLOXWHOg"/>
        <dc:title xmlns:dc="http://purl.org/dc/terms/">Requirement Selection</dc:title>
      </oslc_rm:SelectionDialog>
    </oslc_rm:requirements>
    <dc:description xmlns:dc="http://purl.org/dc/terms/">Service Descriptor for Project: eNaTIS</dc:description>
    <dc:title xmlns:dc="http://purl.org/dc/terms/">eNaTIS</dc:title>
  </oslc_rm:ServiceDescriptor>

Thanks
Henkie

0 votes



One answer

Permanent link
I have found my mistake. The REST calls I used must include the following headers:

OSLC-Core-Version: 2.0

Accept: application/rdf+xml


2 votes

Comments

Henkie, 

Thank you for posting the answer and the reminder on checking the headers! 
Ginny 

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
× 10,943
× 7,501

Question asked: Jan 04 '16, 8:08 a.m.

Question was seen: 3,452 times

Last updated: Jan 05 '16, 2:11 p.m.

Related questions
Confirmation Cancel Confirm