【发布时间】:2010-12-02 01:47:33
【问题描述】:
我正在使用“复制”网络服务尝试将文档上传到 SP2010 网站。但是,当我执行“CopyIntoItems”方法时,我会收到一个 WebException(详情如下)。我正在遵循这篇文章中建议的一般方法: Simplest way to Upload a document to sharepoint using web services。
有什么建议吗?
System.Net.WebException was unhandled
Message="The request failed with the error message:\r\n--\r\n<html><head><title>Object moved</title></head><body>\r\n<h2>Object moved to <a href=\"%2f_login%2fdefault.aspx%3fReturnUrl%3d%252fsites%252fnn%252f_vti_bin%252fcopy.asmx\">here</a>.</h2>\r\n</body></html>\r\n\r\n--."
Source="System.Web.Services"
StackTrace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
【问题讨论】:
标签: sharepoint sharepoint-2010