我想实现一个使用与
Lists web service in sharepoint
. 我不想通过sharepoint运行此操作。什么是一个好的方式开始在这个?
我试图使用wsdl.exe工具来生成一些包装类,但是生成的包装器似乎在结构参数上进行了punted,并将它们指定为XML。例如,下面是为
GetList
...
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.1432")]
[System.Web.Services.WebServiceBindingAttribute(Name="ListsSoap", Namespace="http://schemas.microsoft.com/sharepoint/soap/")]
public interface IListsSoap
{
/// <remarks/>
[System.Web.Services.WebMethodAttribute()]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetList", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
System.Xml.XmlNode GetList(string listName);
}