It's all about the answers!

Ask a question

OSLC service catalog and RTC


Kamal Suruguchi (15112114) | asked May 25 '11, 8:51 a.m.
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?

3 answers



permanent link
Steve Speicher (31765) | answered May 25 '11, 10:22 a.m.
JAZZ DEVELOPER
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

permanent link
Kamal Suruguchi (15112114) | answered May 26 '11, 2:09 a.m.
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?

permanent link
Nick Edgar (6.5k711) | answered Jun 09 '11, 4:12 p.m.
JAZZ DEVELOPER
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>

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.