Authentication error while consuming web service published in SR of CE 7.1
I am having this error while trying to consume a web service published in local services registry. Authentication level is set as Basic in the web service and in end point. I am receiving this error in security log files.
Message:Authentication for web service ServicesRegistrySiService, configuration ServicesRegistrySiPort using security policy sap.com/tcesiuddisrws~earServicesRegistrySiServiceServicesRegistrySiPort*ws failed: Login failed.. (See SAP Note 880896 for further info).
Thread: HTTP Worker 
Data Source: j2ee\cluster\server0\log\system\security_00.log
Correlator ID: 33747500000034965
DSR Transaction: 72b226c009ed11dd9a3e000c29c818ce
following is the code in a C# .Net 2.0 from where the service is called.
CnarService srv = new CnarService();
NetworkCredential ic = new NetworkCredential("user", "password");
CredentialCache cache = new CredentialCache();
srv.UseDefaultCredentials = false;
srv.PreAuthenticate = true;
srv.Credentials = ic;
srv.Timeout = 600;
cnarobject cnObj = srv.GetObject("1");
fnameTextBox.Text = cnObj.firstname;
lnameTextBox.Text = cnObj.lastname;
mnameTextBox.Text = cnObj.middlename;
catch (WebException wex)
MessageBox.Show(wex.Message + wex.Response + wex.StackTrace);
I tried to find the SAP Note 880896 but note doesn't exists. I am receiving similar error while trying to connect Enterprise Services explorer for .Net