It's all about the answers!

Ask a question

Calling REST services from .NET client


Philip Reed (3654) | asked May 10 '10, 11:27 a.m.
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?

2 answers



permanent link
Philip Reed (3654) | answered May 10 '10, 12:42 p.m.
Nevermind...I figured it out. It was a minor mistake, but difficult to find.

permanent link
navneet kumar (02) | answered Jun 13 '13, 2:57 a.m.
 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. 

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.