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

RRC , C# Catalog Authentication mode Code !

Hi All,

I am developing a application in c# which will get count of different things from my RRC , I have developed the code for RTC and it seems to work all fine , but when that same code i use for RRC it gives me 401 Authentication error.

For RTC i have used basic authentication.


HttpWebRequest Request = (HttpWebRequest)WebRequest.Create(TxtURL.Text);

Request.Accept = @"application/xml";
Request.Headers.Add("OSLC-Core-Version", "2.0");
Request.Credentials = new NetworkCredential(TxtUserID.Text, TxtPwd.Text);
Request.Timeout = 3600000;


I guess that RRC uses Form authentication and post to URI./j_security_check with the two parameter j_username and j_password.
I tried to do it that way, but no success.

Can you please help me for RRC ?
Some insight about RRC authentication in c# is greatly appreciated.


Akki

0 votes



11 answers

Permanent link
None of these code works ....
Additional information: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

0 votes

1–15 items
page 2of 1 pagesof 2 pages

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

Question asked: Jan 23 '12, 7:58 a.m.

Question was seen: 17,952 times

Last updated: May 27 '14, 11:27 a.m.

Confirmation Cancel Confirm