Issue writing a new REST Services using Java
Hello,
I'm interested at article posted (http://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html) that exeplains how to create a new REST Service, unfortunately I cannot use the code in the article because I cannot find the package that contains the classes TeamRawService and AbstractService. Could you help me to solve this issue ? My development enviroments it's based on 4.0.1 on Windows . Best regards, Davide Dellepiane |
6 answers
com.ibm.team.repository.service.AbstractService
com.ibm.team.repository.service.TeamRawService in my plugin project, I create a user library for the files in the sdk plugins folder, and I use the library, without trying to figure out which plugin holds what classes. com.ibm.team.repository.service,...jar is different than the others as the working classes are in an embedded jar. Comments
Davide Dellepiane
commented Jul 22 '14, 5:05 a.m.
Hi Sam,
1
sam detweiler
commented Jul 22 '14, 8:10 a.m.
in the sdk/plugins folder there is a folder for com.ibm.team.repository.service.??? some number..
|
Hi,
thank you for your help,I've finally found the missing library. Do you have any other resources (articles, sample code or even example) that could help me to start ? The article in my first question doesn't seem complete (it miss the code of the ITodo interface and TodoManager class). Thanks for your help. Best regards, Davide Dellepiane Comments 1
sam detweiler
commented Jul 23 '14, 10:34 a.m.
the top of the referenced web page says
|
Hi Sam,
it seems that I was a bit hasty... Thanks for your help. Best regards, Davide Dellepiane Comments 1
sam detweiler
commented Jul 23 '14, 11:07 a.m.
no problem, can't tell u how many times I've missed the importance sentence
Davide Dellepiane
commented Jul 24 '14, 12:01 p.m.
Hi,
1
sam detweiler
commented Jul 24 '14, 12:06 p.m.
I see the same problem.. I don't have a copy of the files.. Maybe Ralph can help
1
I can't either. Please open a work item with https://jazz.net/jazz02/web/projects/Community%20Feedback#action=com.ibm.team.dashboard.viewDashboard
1
The file should be there. Here a version I found: https://db.tt/VUmjyJoY
Davide Dellepiane
commented Jul 25 '14, 4:21 a.m.
Hi Ralph,
showing 5 of 6
show 1 more comments
|
Hi,
I'm sorry but I still have problem... I followed the first part of the article and when I try to test the SimpleTest Service in the browser I receive the following answer : "Problem accessing /jazz/service/com.example.jazz.todo.common.internal.rest.ITodoRestService. Reason: The request would not be processed because identity assertion was requested but the IInternalContributorService could not be loaded." What's the cause of the error ? Thanks. Best regards, Davide Dellepiane Comments
sam detweiler
commented Jul 25 '14, 12:57 p.m.
no idea myself.. never tried this.. may look at it this weekend
sam detweiler
commented Jul 27 '14, 10:35 a.m.
I have no idea how you made it this far.. these articles are so woefully broken.
|
HI Sam thanks for your quick answer...
I'm sorry for the delay in the answer but I was on holiday... |
Hello Sam,
I probably corrected some of the syntax error in the files but now when I try to run the example I receive the following error : "og4j:WARN No appenders could be found for logger (com.ibm.team.repository.common.internal.util.InternalTeamPlatform). log4j:WARN Please initialize the log4j system properly." Could you please tell me how to solve this issue ? Am I doing something wrong ? Best regards, Davide Dellepiane Comments
sam detweiler
commented Aug 25 '14, 10:59 a.m.
that is a warning, so not a failure..
|
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.