Retreiving Kontenut Lista permezz webservice fil SharePoint 2003

Żid il-webreference għall-Lists.asmx fis-sit SharePoint.

http://localhost / _vti_bin / Lists.asmx (SharePoint Direttorju virtwali ikteb / _vti_bin / Lists.asmx

jiktbu l-metodi li ġejjin fil-webservice tiegħek.

privati ​​data.DataTable GetDataTableFromWSS(onlySchema bool) { sekwenza WssSiteUrl = http://192.168.111.21; sekwenza WssSiteUrl = ConfigurationSettings.AppSettings[“WssSiteUrl”]; WssSite.Lists listi = WssSite.Lists ġodda(); lists.Url = WssSiteUrl + “_vti_bin / Lists.asmx”; lists.Credentials = System.Net.CredentialCache.DefaultCredentials;

lists.PreAuthenticate = veru; //ikollok biex jgħaddu l- […]