使用 HttpClient 连接到 Sharepoint

发布于 2024-10-08 16:35:23 字数 256 浏览 0 评论 0原文

我正在尝试使用 HttpClient 4 连接到 Sharepoint 2007。身份验证方案是 NTLM,我基于此编写了一个实现(http://hc.apache.org/httpcomponents-client-ga/ntlm.html)。

当我尝试连接并提供 NTCredentials(用户名、密码、主机和域)时,我收到 500 错误,提示“不支持请求的功能”。

我正在尝试理解这个错误。有谁知道这个错误是什么?为什么会发生这种情况?

谢谢

I am trying to connect to a Sharepoint 2007 using HttpClient 4. The Authentication scheme is NTLM and i wrote an implementation based on this (http://hc.apache.org/httpcomponents-client-ga/ntlm.html).

When i try to connect supplying NTCredentials (username,password,host & domain), i get a 500 error saying "The requested function is not supported".

I am trying to understand this error. Does anyone know what this error is? and Why is this occuring?

Thanks

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文