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

Calling REST services from .NET client

I'm attempting to gain access to project area resources from a .NET client application. However, form-based authentication isn't working for some reason. From my debugging, it appears the requests are generated correctly but the request for j_security_check times out. It may be a session management problem but I've verified that the session id is correctly included in the Cookie: header. I can manually authenticate via URL from a browser window using the same URL string. Any ideas?

0 votes



2 answers

Permanent link
Nevermind...I figured it out. It was a minor mistake, but difficult to find.

0 votes


Permanent link
 For those who are looking for sample C# code for authentication can refer to following article - http://nkumar83.wordpress.com/2013/06/13/consuming-rtc-rational-team-concert-oslc-apis-using-c-post-1-authentication/

This article has code for form based authentication using WebClient and HTTPWebRequest/HTTPWebResposne classes. 

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
× 10,950

Question asked: May 10 '10, 11:27 a.m.

Question was seen: 4,218 times

Last updated: Jun 13 '13, 2:57 a.m.

Confirmation Cancel Confirm