It's all about the answers!

Ask a question

How to create workitem using oslc


Prashant More (1128) | asked May 31 '16, 4:55 a.m.
edited Jun 03 '16, 3:13 a.m. by Ralph Schoon (63.3k33646)
 Hi,
I want to create workitem using oslc.I have used headers like X-Jazz-CSRF-Prevent=JSESSIONID , OSLC-Core-Version=2.0,Content-Type=application/rdf+xml respt and used url "https://pc55:9443/ccm/oslc/contexts/_gLed0PcREeW_ubx0Ffs-6A/workitems/defect"  in RESTClient which add-on for firefix.Also used "POST"  method.
 
when i clicked on send button got an error like 
  1. Status Code: 400 Bad Request
  2. Cache-Control: private, max-age=0, must-revalidate
  3. Connection: close
  4. Content-Length: 0
  5. Date: Tue, 31 May 2016 08:39:27 GMT
  6. Expires: Tue, 31 May 2016 08:39:27 GMT
  7. Server: Apache-Coyote/1.
 please help me for these.

Thanks,
Prashant
 



Comments
Donald Nong commented Jun 06 '16, 3:01 a.m.

It could be that the XML content is malformed. Check the error messages in the browser and ccm.log for more details.

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.