It's all about the answers!

Ask a question

Announcing updated OSLC Workshop for CLM 2012


Rosa Naranjo (2.9k11723) | asked Nov 20 '12, 11:50 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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

Comments
Tomas Broka commented Nov 27 '12, 3:13 p.m. | edited Nov 27 '12, 5:06 p.m.

 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


Rosa Naranjo commented Nov 27 '12, 5:06 p.m. | edited Nov 27 '12, 5:06 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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.


Tomas Broka commented Nov 27 '12, 5:20 p.m. | edited Dec 14 '12, 4:03 p.m.

 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. 


Millard Ellingsworth commented Dec 13 '12, 10:31 p.m.
FORUM ADMINISTRATOR / JAZZ DEVELOPER

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. 


Tomas Broka commented Dec 13 '12, 10:53 p.m.

I resolved the issue. Thank you. 

One answer



permanent link
Jerry Shengulette (63914) | answered Nov 20 '12, 2:56 p.m.
JAZZ DEVELOPER
Thanks Rosa.  Great information.

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.