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