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

Failed to working with RTC 4.0 to update work item.

Hi,

I have some codes using REST API and OSLC v1 CM spec that I can query/retrieve/create work items.  But the codes supporting partially update work item which are working with RTC server 2.0 and 3.0 are no longer working with RTC 4.0 server with return code 412.  I'm confused with the return code since the specified work item has not been changed at all and the ETag is properly set in the request header of update command.

Is this a known problem and/or how do I work around this issue?  Thanks for help.

Winson




0 votes



2 answers

Permanent link
 Hello,
I guess that with RTC 4.0, you should start implementing OSLC v2 spec:
https://jazz.net/library/article/1001

Thanks.
Eric.

0 votes

Comments

But we also need to support RTC 2.0 and 3.0.  I wonder if OSLC v2.0 spec is supported by RTC 2.0 and 3.0.

Thanks.

Winson

 I would say:

- RTC 2 and 3 --> OSLC v1
- RTC 4 --> OSLC v2

Thanks

Hi Eric,

By following the instructions of this v2 wiki, I still got 412 response code from RTC 4.0 server.  Do you know if there is any server log that I may figure out more details of error?

BTW, do you happen to have the wiki that specifies the version of RTC and its supported version of OSLC?

Thanks a lot for your help.

Winson


Permanent link
  Hello,
as per your question:
Q: do you happen to have the wiki that specifies the version of RTC and its supported version of OSLC?
A: no

Q: Do you know if there is any server log that I may figure out more details of error? 
A: 412 seems to be a pure Client error, you may however check RTC server log (ccm.log), or use Firefox REST Client - https://addons.mozilla.org/en-US/firefox/addon/restclient/
or Poster - https://addons.mozilla.org/de/firefox/addon/poster/

Also found the following information in some private record we have:
For OSLC_CM 2.0, you have to use Accept: application/rdf+xml and OSLC-Core-Version: 2.0
For OSLC_CM 1.0, you have to use Accept: application/x-oslc-cm-change-request+xml

Hope it helps.
Eric.

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,950

Question asked: Mar 19 '13, 8:11 p.m.

Question was seen: 4,872 times

Last updated: Mar 25 '13, 2:14 a.m.

Confirmation Cancel Confirm