Zerrendaren edukia Retreiving SharePoint en WebService bidez 2003

Gehitu webreference du Lists.asmx izateko SharePoint gunean.

http://localhost / _vti_bin / Lists.asmx (SharePoint Directory birtuala URL / _vti_bin / Lists.asmx

Zure webservice ere, metodo hauek idatzi.

pribatua data.DataTable GetDataTableFromWSS(bool onlySchema) { katea WssSiteUrl = http://192.168.111.21; katea WssSiteUrl = ConfigurationSettings.AppSettings[“WssSiteUrl”]; WssSite.Lists zerrendak = WssSite.Lists berria(); lists.Url = WssSiteUrl + “_vti_bin / Lists.asmx”; lists.Credentials = System.Net.CredentialCache.DefaultCredentials;

lists.PreAuthenticate = true; //gainditu behar duzu […]