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

Persisting Adaptertask object

Hi!
I am trying to create an Adaptertask object (You can find the object under com.ibm.rqm.xml.bind in the source code for RQM-Copyutil) I initialise that object,(See code, I am using a method to create the object createAdapterTask) making sure I have all the necessary fields. When I am persisting the object, therefore using the RQMRestClient Object I am doing the following:



RQMRestClient RQMRClient = = new RQMRestClient("https",<host<,<Port>,<ProjectArea>,"jazz");

//Other code to make sure I connect using username and pwd
..
..

try {

Adaptertask adapter = this.createAdapterTask();
RQMRClient.putArtifact("tasks", "59234",adapter);

} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (JAXBException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (RestException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}



Everytime I run the above code I get an 500 HTTP error (which means that an internal error occurred in the server.
Is it the type of task I am putting as fields ("tasks")? Or is it something that changed in the RQM 3.0.1.1 regarding this object?

thank you all for your time.

0 votes



One answer

Permanent link
I think you reported this message in another thread where I have answered the question. looking forward to know your usecase and xml your code generates

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: Feb 29 '12, 5:48 a.m.

Question was seen: 8,021 times

Last updated: Feb 29 '12, 5:48 a.m.

Confirmation Cancel Confirm