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

Problems Writing a Jazz Web REST Service

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,

0 votes



One answer

Permanent link
Try

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

instead.

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
× 10,941

Question asked: Mar 17 '11, 7:00 a.m.

Question was seen: 5,576 times

Last updated: Mar 17 '11, 7:00 a.m.

Confirmation Cancel Confirm