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

Announcing updated OSLC Workshop for CLM 2012


The OSLC Workshop on Jazz.net has been updated to include support for CLM 2012.  The OSLC-RM section has been updated with information on how to use the OSLC API with the folder support added in RRC 4.0. 

https://jazz.net/library/article/635

2 votes

Comments

 Hi Rosa ,

I went through the OSLC Workshop and in net.jazz.oslc.consumer.cm.client project I ran the Test.java class. If I use the given url https://jazz.server.com:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/1 I get the right REST Get response but if I try to get the response of this url https://jazz.server.com:9443/jts/users/clmadmin, I get a HTML format for the REST Get response. Is there a way I can get the rdf/xml format instead of the html?

Any help or suggestion will be appreciated. 

Thank you,

Tomas

Tomas
I don't think you can get rdf/xml format.  The url you are trying to access is not part of the OSLC API.  It is an internal URL that is part of the Jazz Application Framework.

 Does it mean that it has changed in RTC4.x? I'm trying to get the contributor's nickname. If I use the REST client through a browser I get this response: 

<rdf:RDF>
 <rdf:Description rdf:about="https://clm.jkebanking.net:9443/jts/users/clmadmin">
<j.1:archived rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">
false
</j.1:archived>
<j.0:mbox rdf:resource="mailto:" />
<j.0:nick>
clmadmin
</j.0:nick>
<j.0:name>
CLM Admin
</j.0:name>
 </rdf:Description>
</rdf:RDF>

 for this link https://jazz.server.com:9443/jts/users/clmadmin and I'm trying to get the same response through java. 
In RTC3.x I was able to get the rdf/xml format for the the contributor using java but I was accessing it using this URL https://jazz-server:9443/ccm/oslc/users/_ND69zCPGEeKkIoM-LfhpDQ and in RTC4.x isn't represented in this form anymore. 

Tomas, you are more likely to get a response if you post this as a question of its own rather than in an answer to someone else's question. 

I resolved the issue. Thank you. 



One answer

Permanent link
Thanks Rosa.  Great information.

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
× 10,938
× 516

Question asked: Nov 20 '12, 11:50 a.m.

Question was seen: 8,338 times

Last updated: Dec 14 '12, 4:03 p.m.

Confirmation Cancel Confirm