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

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.

0 votes



One answer

Permanent link

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.

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

Question asked: Jun 14 '17, 6:12 a.m.

Question was seen: 1,235 times

Last updated: Jun 14 '17, 8:06 a.m.

Confirmation Cancel Confirm