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:ServiceProviderelement 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:ServiceProviderobjects. What am I dooing wrong? |
2 answers
![]()
The Jazz Team Server doesn't contain any of the project areas or work items, try /ccm/rootservices instead.
Hi oslc_disc:ServiceProviderelement 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:ServiceProviderobjects. What am I dooing wrong? |
![]()
Thanks. Now it finally works. Can you also recommend me a good way to convert this response into XML or JSON?
|