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:
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.
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.