1
私は私のコードを実行し、次の例外がスローされた例外の新-たWebServiceProxy SOAP(ドイツ):PowerShellの -
AusnahmeバイムAufrufenフォン "GetListItems" MIT 7引数(エン):タイプの 「例外 'Microsoft.SharePoint.SoapServer.SoapServerException'がスローされました。
Soap Server Exceptionについて詳しく知りたいですか?
マイコード:
$url = "http://mysharepoint.de/websites/test/"
$docBib = "TestDocLib"
$sitesWS = New-WebServiceProxy ($url + "_vti_bin/Lists.asmx") -UseDefaultCredential
$sitesWS.Proxy = New-Object System.Net.WebProxy("")
$xmlDoc = New-Object System.Xml.XmlDocument
$xmlDoc.LoadXml("<Document><Query /><ViewFields /><QueryOptions /></Document>")
$queryNode = $xmlDoc.SelectSingleNode("//Query")
$viewFieldsNode = $xmlDoc.SelectSingleNode("//ViewFields")
$queryOptionsNode = $xmlDoc.SelectSingleNode("//QueryOptions")
$queryNode.InnerXml = "<Where></Where>"
$sitesWS.GetList("test")
$result = $sitesWS.GetListItems($docBib, $null, $queryNode, $viewFieldsNode, $null, $queryOptionsNode, $null)