i have a requirement where i need to use lists.asmx webservices. whenever an item is created in announcement list on server A, its reference i.e. the item id needs to be added to the announcement list
on server B. i got this done working, but i hardcoded the credentials for the webservice. something like this
cmoss2.Lists StudentList = new cmoss2.Lists();
StudentList.Credentials = new System.Net.NetworkCredential("administrator", "admin1234", "myDomain");
StudentList.Url = "http://cmoss:6789/_vti_bin/lists.asmx";
cant we do this with out hardcoding the credentials? kindly suggest me, if there is any workaround.
Thank you all
View Complete Post