Writing a Jazz Web REST Service error
hi, i am trying to write a rest service following this page
http://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html and i got this error when i import the code: The method getRepositoryItemService() is undefined for the type TodoRestService at source: public IContributor getContributor() throws TeamRepositoryException { return (IContributor) getAuthenticatedContributor(), null); } Anyone has encountered the same error? |
2 answers
hi, i am trying to write a rest service following this page The document dates back to 2007 and is a bit outdated. getRepositoryItemService() was removed. You can get the service like any other service by calling: getService(IRepositoryItemService.class) -- Regards, Patrick Jazz Work Item Team |
COPY that :)
hi, i am trying to write a rest service following this page The document dates back to 2007 and is a bit outdated. getRepositoryItemService() was removed. You can get the service like any other service by calling: getService(IRepositoryItemService.class) -- Regards, Patrick Jazz Work Item Team |
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.