firstname.lastname@example.org wrote:However I doesn't seem to find any deleteWorkItem(uri) method in there.
Is it intended not to expose such API? Or did I missed this functionality defined somewhere else?
You are using the SOAP API via Java, right? I am asking because there is the possibility to invoke the API via C#
but I am not sure if functions/methods are differing in contrast to Java (e.g. I had to experience humbly that no Getter methods are available when using the API via C#
However concerning Java
: As far as I see it, there is no method available to delete work items, neither in TrackerWebService
nor in the other service classes
I think this is intended by the Developers, because if you compare the IProjectService
class (which is for Wikipages) and the ProjectWebService
, you clearly see that deleting users is also only possible in Wikipages but not in a Java App via the API.
Jürgen wrote:As far as I know, the interface IWorkItem has a delete method.
You mixed things up but that happened to me also because how the Polarion developers named the classes for the WikiPages and the SOAP API is a bit confusing. IWorkItem
is the class which is used in Wikipages (which has a delete method), most of the time is it is used on conjunction with the ITrackerService
For the SOAP API
, if the author of this topic/thread uses Java (I am not sure concerning C#
), the corresponding class of work item instances is WorkItem, the counterpart for the trackerservice is TrackerWebService
which can be generated through the WebServiceFactory
I just found this thread, which shows that not only we two had this misconception that IWikipage can be used via the API: viewtopic.php?t=20242