How to get Client Library in RTC Plugin ?
Hi All,
I am trying to get IProcessClientService client library in RTC Plugin.
I used the below code to get Client library.
ITeamRepository teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);
teamRepository.registerLoginHandler(new LoginHandler(userId, password));
teamRepository.login(monitor);
IProcessClientService processClient = (IProcessClientService) teamRepository.getClientLibrary(IProcessClientService.class);
But it returns null.
Anyone have any idea??
Please Help.
|
One answer
Ralph Schoon (63.7k●3●36●48)
| answered Jun 14 '17, 8:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER This code has worked for me: IProcessClientService processClient = (IProcessClientService) teamRepository.getClientLibrary(IProcessClientService.class);And I get somethign other than null Example code that worked for me containing code should be here:
I can't say why you get null.
|
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.