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

Consuming REST service from Java Team Server

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?

0 votes



2 answers

Permanent link
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?

0 votes


Permanent link
Thanks. Now it finally works. Can you also recommend me a good way to convert this response into XML or JSON?

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

Question asked: Oct 07 '11, 10:57 a.m.

Question was seen: 7,152 times

Last updated: Oct 07 '11, 10:57 a.m.

Confirmation Cancel Confirm