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

OSLC service catalog and RTC

I am following this article: http://jazz.net/library/article/352#service_discovery

When I try to get the service catalog of my RTC installation, using the following URI,
https://localhost:9443/ccm/oslc-scm/catalog

I get the following:

<oslc_disc:ServiceProviderCatalog rdf:about="https://localhost:9443/ccm/oslc-scm/catalog.xml">
<oslc_disc:entry>
<oslc_disc:ServiceProvider>
<dcterms:title>Prelude</dcterms:title>
<oslc_disc:details rdf:resource="https://localhost:9443/ccm/process/project-areas/_CTK3MEu0EeCdO6nU-gy_UQ"/>
<oslc_disc:services rdf:resource="http://example.com/cmm/oslc-scm2/services.xml"/>
<jp:consumerRegistry rdf:resource="https://localhost:9443/ccm/process/project-areas/_CTK3MEu0EeCdO6nU-gy_UQ/links"/>
</oslc_disc:ServiceProvider>
</oslc_disc:entry>
</oslc_disc:ServiceProviderCatalog>


Why am I getting

<oslc_disc:services> link as "http://example.com/cmm/oslc-scm2/services.xml" ?

when I should be getting something like the following:

https://localhost:9443/ccm/workitems/services.xml

Why and how is this example.com turning up in this?

0 votes



3 answers

Permanent link
Why am I getting

<oslc_disc> link as "http://example.com/cmm/oslc-scm2/services.xml" ?

when I should be getting something like the following:

https://localhost:9443/ccm/workitems/services.xml

Why and how is this example.com turning up in this?


This is a known issue with the oslc-scm entry, see Defect 150073: OSLC SCM catalog entry has wrong URL for oslc_disc:servicesOSLC SCM catalog entry has wrong URL for oslc_disc:services

0 votes


Permanent link
Why am I getting

<oslc_disc> link as "http://example.com/cmm/oslc-scm2/services.xml" ?

when I should be getting something like the following:

https://localhost:9443/ccm/workitems/services.xml

Why and how is this example.com turning up in this?


This is a known issue with the oslc-scm entry, see Defect 150073: OSLC SCM catalog entry has wrong URL for oslc_disc:servicesOSLC SCM catalog entry has wrong URL for oslc_disc:services

Is there any other way of doing a service discovery to query on my RTC work items?

0 votes


Permanent link
You're using the OSLC-SCM catalog. You want the OSLC-CM one for work items.

For example:
https://jazz.net/jazz/rootservices
->

...
<oslc_cm:cmServiceProviders rdf:resource="https://jazz.net/jazz/oslc/workitems/catalog"/>
<oslc_scm:scmServiceProviders rdf:resource="https://jazz.net/jazz/oslc-scm/catalog"/>
...


You want the first one.

https://jazz.net/jazz/oslc/workitems/catalog
->

<oslc_disc:entry>
<oslc_disc:ServiceProvider>
<dc:title>Rational Team Concert</dc:title>
<oslc_disc:details rdf:resource="https://jazz.net/jazz/process/project-areas/_1w8aQEmJEduIY7C8B09Hyw"/>
<oslc_disc:services rdf:resource="https://jazz.net/jazz/oslc/contexts/_1w8aQEmJEduIY7C8B09Hyw/workitems/services.xml"/>
<jp:consumerRegistry rdf:resource="https://jazz.net/jazz/process/project-areas/_1w8aQEmJEduIY7C8B09Hyw/links"/>
</oslc_disc:ServiceProvider>
</oslc_disc:entry>

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
× 10,938

Question asked: May 25 '11, 8:51 a.m.

Question was seen: 10,337 times

Last updated: May 25 '11, 8:51 a.m.

Confirmation Cancel Confirm