It's all about the answers!

Ask a question

Consuming REST service from Java Team Server


S M (8621923) | asked Oct 07 '11, 10:57 a.m.
Hi

I installed the Jazz Team Server 3.0.1 on my local machine. Now I want to use the REST Api to retrieve some projects and their work items.

I tried this by using the URI

https://localhost:9443/jts/rootservices


From what I've read from the documentation I should see a
oslc_disc:ServiceProvider
element for each ProjectArea. Even so this HTTP Request returns Status 200, and in the body their is a farly long XML file, I can't see any
oslc_disc:ServiceProvider
objects. What am I dooing wrong?

2 answers



permanent link
S M (8621923) | answered Oct 07 '11, 12:17 p.m.
Thanks. Now it finally works. Can you also recommend me a good way to convert this response into XML or JSON?

permanent link
Jared Russell (1.3k12019) | answered Oct 07 '11, 11:38 a.m.
The Jazz Team Server doesn't contain any of the project areas or work items, try /ccm/rootservices instead.


Hi

I installed the Jazz Team Server 3.0.1 on my local machine. Now I want to use the REST Api to retrieve some projects and their work items.

I tried this by using the URI

https://localhost:9443/jts/rootservices


From what I've read from the documentation I should see a
oslc_disc:ServiceProvider
element for each ProjectArea. Even so this HTTP Request returns Status 200, and in the body their is a farly long XML file, I can't see any
oslc_disc:ServiceProvider
objects. What am I dooing wrong?

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.