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

RTC WebService can access other repositories?

Hi,
I am currently working through this tutorial to implement my first RTC web service: https://jazz.net/wiki/bin/view/Main/HiJazzTutorial

The web service base class already provides me all services that I need to access data on that repository (the service runs on).

Now I am wondering whether it is possible to access let's say work items on another repository too. How would I authenticate against the other server? Is this done automatically?
PS. In our environment the user credentials are the same on all repositories since they all use LDAP/AD.

Thank you

0 votes



One answer

Permanent link
When you talk about "other servers", you need to developer a OSLC consumer to access the data.
https://jazz.net/library/article/635

For authentication, how the user repository is configured in Jazz is irrelevant as the API only talks with Jazz, not LDAP directly.

0 votes

Comments

In case the other RTC server provides the functionality as a OSLC/WEB service I still need to authenticate on the other server.

How do I do this?
Is this done automatically in case the servers are "friends" and I try to access it via OSLC calls?

In my case the 'data' that I want to access on the other server is not OSLC accessible.

Go through the workshop and you should get the answer.

To utilize the "friendship", you will need to use OAuth.

If the data is not OSLC accessible, you may need to build a web service on that server to publish such data.

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,937

Question asked: Apr 08 '16, 11:24 a.m.

Question was seen: 2,245 times

Last updated: Apr 15 '16, 4:50 a.m.

Confirmation Cancel Confirm