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

Unable to get DOORS DWA OSLC Service Provider Catalog using Mozilla RestClient

Hi All,
I have Doors 9.5.2 Server, Client and DWA (Doors Web Access) configured on my machine.
I am able to access the Doors Web UI now.
As per the documentation I am able to get the rootServices using the URL

https://hostname:8443/dwa/public/rootservices

Now,I want to access the catalog using Mozilla Rest Client ,So I am using the link ,

http://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/

As discussed in Notes on oAuth. I am able to perform 2 steps as mentioned of the 3 steps

    1. Obtain a Request Token
    2. Authorize Request Token
    3. Exchange the Request Token for an Access Token
    
 I am not able to perform the 3 steps which says to exchange the request token for an access token.
 I mean which
 1.) HTTP URL to query
 2.) HTTP method i,e GET,POST etc
 3.) Headers exactly used ?

0 votes



One answer

Permanent link
1) The URL mentioned in jfs:oauthAccessTokenUrl, which typically is https://<server>:<port>/dwa/oauth-access-token
2) POST
3) Use the Authentication menu in RESTClient and select oauth. For Access token and Access Token Secret, use the request token/secret pair. Note, you'll need to url encode the secret (I don't remember if RESTClient takes care of it)..

So this should give you the Access token/secret. Go to Authentication menu again and replace the Access token/secret with the newly obtained pair. You should then be good to access catalog.

1 vote

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,938
× 27

Question asked: Mar 16 '15, 9:13 a.m.

Question was seen: 4,668 times

Last updated: Mar 16 '15, 9:42 a.m.

Confirmation Cancel Confirm