It's all about the answers!

Ask a question

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


pankaj mishra (1145) | asked Mar 16 '15, 9:13 a.m.
edited Mar 16 '15, 9:15 a.m.
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 ?

One answer



permanent link
Sudarshan Rao (1963) | answered Mar 16 '15, 9:42 a.m.
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.

Your answer


Register or 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.