我想从传统的伙伴关系页获取共享名单。 我正在制作肥皂Xml格式,并试图把网络服务网称为网吧。
Dim http ,soap
soap = "<?xml version= 1.0 encoding= utf-8 ?>"
soap =soap & "<soap12:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance xmlns:xsd= http://www.w3.org/2001/XMLSchema xmlns:soap12= http://www.w3.org/2003/05/soap-envelope >"
soap =soap & "<soap12:Body>"
soap =soap & "<GetListItems xmlns= http://schemas.microsoft.com/sharepoint/soap/ >"
soap =soap & "<listName>Posts</listName>"
soap =soap & "<viewName></viewName>"
soap =soap & "<query></query>"
soap =soap & "<ViewFields><FieldRef Name= Title /><FieldRef Name= Modified /><FieldRef Name= DefaultViewUrl /><FieldRef Name= ID /><FieldRef Name= Author /><FieldRef Name= Name /><FieldRef Name= Body /><FieldRef Name= NumComments /><FieldRef Name= DefaultViewUrl /></ViewFields>"
soap =soap & "<rowLimit>5</rowLimit>"
soap =soap & "<QueryOptions><IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns><DateInUtc>FALSE</DateInUtc></QueryOptions>"
soap =soap & "</GetListItems>"
soap =soap & "</soap12:Body>"
soap =soap & "</soap12:Envelope>"
Set http = CreateObject("MSXML2.XMLHTTP")
http.Open "POST", URL, False
http.setRequestHeader "Content-Type", "application/soap+xml; charset=utf-8"
http.send(soap)
But i am getting the error like "An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator..."
我是否需要通过任何认证或问题?