It's all about the answers!

Ask a question

How to get creator and contributor on RTC using OSLC?

Tomas Broka (122) | asked Nov 06 '12, 5:09 p.m.

I'm trying to retrieve the creator and contributor values in RTC using OSLC in java. The http response is coming back in an html format and not as xml format, only for these two fields. 
In RTC 3.x I'm able to get the values because the http response is comping back as xml format for all the fields. I know that in RTC 4.x the oslc format has changed for creator and contributor. Using REST client this is what I get:

<rdf:RDF xmlns:rdf="" xmlns:j.0="" xmlns:j.1="">
 <rdf:Description rdf:about="https://jazz-server:9443/jts/users/rtcadmin">
<j.1:archived rdf:datatype="">
RTC Admin

I made the changes on java code to parse "j.0:nick" value and it works correct if I parse it through a xml file. My only problem is getting the http response in html format. 
Can someone help me how to get the http response in xml format for creator and contributor ?

Thank you,


Be the first one to answer this question!

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.