English 中文(简体)
利用伙伴关系提供的共享网站服务
原标题:Accessing sharepoint webservice from ASP

我想从传统的伙伴关系页获取共享名单。 我正在制作肥皂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..."

我是否需要通过任何认证或问题?

问题回答

如果你不在Swak网站,问题就是不让你进入。 共同点正期望得到一个厨师或国家排雷中心的授权。

你们能否再花一点钱?

David Sterling Sterling International Consulting Group davidmsterling.blogspot.com www.sharepoint-blog.com





相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签