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
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.
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
1 vote
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
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
Hi Sam,
it seems that I was a bit hasty... Thanks for your help.
Best regards,
Davide Dellepiane
it seems that I was a bit hasty... Thanks for your help.
Best regards,
Davide Dellepiane
Comments
1 vote
1 vote
1 vote
1 vote
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
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
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
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