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

DOORS sample_get.dxl returns error 406 for RQM resources

I am testing sample_get.dxl script in my DOORS 9.6.1.3 environment.
sample_get.dxl is at
C:\Program Files\IBM\Rational\DOORS\9.6.1.3\lib\dxl\example\oslc\sample_get.dxl

The sample_get DXL code worked with CCM resources, and the return code was 200.
The sample_get DXL code did not work with QM resources, and the return code was 406.

How can sample_get DXL code work with QM resources?




0 votes


Accepted answer

Permanent link
From www.w3.org, HTTP status code 406 means that the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.

Since this issue happened when accepting header, we can modify line 50 of sample_get.dxl as follows:

change text/xml to application/rdf+xml

and then test again.

Andrew Clement selected this answer as the correct answer

3 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,951

Question asked: Sep 30 '16, 8:13 a.m.

Question was seen: 3,711 times

Last updated: Sep 30 '16, 8:20 a.m.

Confirmation Cancel Confirm