It's all about the answers!

Ask a question

Problems Writing a Jazz Web REST Service


Josune De Sosa (611) | asked Mar 17 '11, 7:00 a.m.
Hello everyone

We are starting in Jazz and we want to create a Web REST Service in Jazz. We have found this page:
http://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html
It was writen in 2007, have things changed?? we have downloaded the code and a number of errors appeare:
    not able to find the library "com.ibm.team.repository.service"
    not able to recognize the method "getRepositoryItemService"

Have these methods changed? can someone help us? anyone have an example to create a Web REST Service in Jazz?


Thank you very much,

One answer



permanent link
Fabio Rocha (4121) | answered Sep 06 '11, 3:44 a.m.
Try

return (IContributor) getService(IRepositoryItemService.class).fetchItem(
getAuthenticatedContributor(), null);

instead.

Your answer


Register or 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.