访问 Sharepoint Webservice 时出现身份验证问题

发布于 2024-10-09 18:08:00 字数 436 浏览 0 评论 0原文

我一直在使用 Sharepoint Services 2007,我可以通过 Asp.Net Web 应用程序使用 复制 Web 服务将任何文件从本地系统上传到 Sharepoint 服务器,并且我已经进行了 Windows 身份验证。使用时出现以下错误SOAPUI 中的 Copy.Wsdl

错误

错误 -

您无权查看此页面

您无权使用您提供的凭据查看此目录或页面,因为您的 Web浏览器正在发送 Web 服务器未配置为接受的 WWW-Authenticate 标头字段。 请尝试以下操作: 如果您认为自己应该能够查看此目录或页面,请联系网站管理员。 单击“刷新”按钮以使用不同的凭据重试。 HTTP 错误 401.2 - 未经授权:由于服务器配置,访问被拒绝。
Internet 信息服务 (IIS)

I have been using Sharepoint Services 2007 and I can able to upload any file from local system to Sharepoint server using Copy webservice through Asp.Net web application and I have given windows authentication.I got following error while using Copy.Wsdl in SOAPUI

Error

error -

You are not authorized to view this page

You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

神也荒唐 2024-10-16 18:08:00

SoapUI 正在发送 WWW-Authenitcate 标头,该标头是基本身份验证,但您的 Web 服务设置为仅接受集成身份验证。

更改 SoapUI 中的设置以发送集成身份验证(可能不可能,请检查文档)或更改 IIS 以接受基本身份验证身份验证。

SoapUI is sending a WWW-Authenitcate header which is Basic Authentication but your web service is set to only accept Integrated Authentication.

Either change the settings in SoapUI to send Integrated Authentication (may not be possible, check docs) or change IIS to accept Basic Authentication.

三生路 2024-10-16 18:08:00

在“身份验证和安全相关设置”中,在用户名前加上相关域的前缀。尽管设置中有单独的域字段,但我发现将域放入用户名中是解决方案。

Username: domain\username

In the "Authentication and Security-related Settings", prefix the username with the relevant domain. Even though there is separate domain field in the settings, I found that putting the domain in the username was the solution.

Username: domain\username
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文