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

REST API loses attachment reference

Hi,

I've got the xml for a specific Test Case from RQM using the REST API. The Test Case in question has an attachment (so the attachment element in the retrieved xml is populated).

I've then put that xml back up to the server using the REST API and the PUT method. I get a 200 success status back and the Test Case has been updated but the Test Case no longer has an attachment linked.

The Test Case has definitely been updated (as I've tested changing the title in the xml before putting it back to the server). The xml is correct as I'm using the message I've gotten from the server so it looks like the REST API is just ignoring the attachment element.

Has anyone else experienced this? Looks like it could be a defect.

Cheers, Cliff

0 votes



One answer

Permanent link
We got an error in the SystemLog with a WARN about not being able to associate the attachment to the Test Case.

The details for the error were:

com.ibm.ws.webcontainer.servlet.exception.NotargetForURIException: No target servlet configured for uri: /(unknown)

Potentially a WAS configuration problem?

Cheers, Cliff

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

Question asked: Jan 27 '10, 10:20 a.m.

Question was seen: 5,749 times

Last updated: Jan 27 '10, 10:20 a.m.

Confirmation Cancel Confirm