It's all about the answers!

Ask a question

URGENT: RTC Authentication using C# and read workitems sample


Karthick Raju (1112) | asked Mar 01 '16, 4:52 a.m.

Hi All,

We are using HP QC ALM. We planned to purchase IBM RTC,RQM and CCM. It's been really painful to find samples for C#.

I am doing PoC to conclude whether all implemented (applications implemented using HP QC ALM library file) applications can be implemented using IBM. We are in killing deadline for PoC. So, Kindly request anyone share sample application to authenticate RTC and read workitems.

Thanks in Advance!

2 answers



permanent link
Sanjesh Nair (11) | answered Mar 02 '16, 6:21 a.m.
Look at https://jazz.net/library/article/601#How_VSClient_Fails_Login_Proxy_One for the C# sample for authentication. For workitem access we don't have any REST APIs but there are Java APIs.

Comments
Geoffrey Clemm commented Mar 02 '16, 3:14 p.m. | edited Mar 02 '16, 3:15 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For REST API work item access, you can use the OSLC change management API (see http://open-services.net/wiki/change-management/ ).
Note that not all work item functionality is exposed in this REST API, but a lot is.
There are several articles on jazz.net for authenticating with OSLC (google for "oslc authentication").


permanent link
Karthick Raju (1112) | answered Mar 14 '16, 12:13 a.m.
edited Mar 14 '16, 2:01 a.m.

Thanks Sanjesh and Geoffrey!

Now, I am getting "The remote server returned an error: (401) Unauthorized." error while accessig RM catalog file.

Below is the request header:

Accept: application/rdf+xmlAuthorization: OAuth realm="Jazz",oauth_consumer_key="78c15b34720f464e88a65a3e4f856dfc",oauth_token="1f21695adedc47dba16ca34bfb44fd44",oauth_signature_method="HMAC-SHA1",oauth_signature="K%2fXq4P3pHDi1OihIXUkAIWt5S9k%3d",oauth_timestamp="1457928160",oauth_nonce="2363026",oauth_verifier="f23ee7803f4b43a986a0550190278513", oauth_version="1.0"OSLC-Core-Version: 2.0Host: server:9443

I'm getting Unauthorized(401) error. Kindly help me on this. Thanks!

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.