Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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*ws failed: Login failed.. (See SAP Note 880896 for further info).

Category: /System/Security/WS/Authentication



Thread: HTTP Worker [1]

Data Source: j2ee\cluster\server0\log\system\security_00.log

Correlator ID: 33747500000034965

Argument Objects:


DSR Component:

DSR Transaction: 72b226c009ed11dd9a3e000c29c818ce

DSR User:

Message Code:

Session: 4196


User: Guest

Host: ########

System: ###

Instance: J00

Node: server0

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

Please help.



Former Member
Not what you were looking for? View more on this topic or Ask a question