使用 WebServices 登录到非 FBA 服务器的 SharePoint
我正在编写一个 SharePoint 客户端,并尝试使用 WebServices 登录到 SharePoint Server。
它是 SharePoint 2010 服务器。
我正在使用此 WebService: http://msdn.microsoft .com/en-us/library/authentication(office.12).aspx
当使用此网络服务时,我收到此错误: NotInFormsAuthenticationMode
我无法更改服务器端的任何内容,并且文档说这个网络服务是:
指定使用基于表单的身份验证的 SharePoint 网站的登录错误类型。
我的问题是如何使用 Webservies 登录到非 FBA SharePoint 服务器,
谢谢
i'm writing a SharePoint client and i'm trying to login to the SharePoint Server using WebServices.
it's a SharePoint 2010 Server.
i'm using this WebService: http://msdn.microsoft.com/en-us/library/authentication(office.12).aspx
when using this webservice i get this error: NotInFormsAuthenticationMode
i can't change anything on the server side, and the docs says this webservice is:
Specifies a type of logon error for SharePoint sites that use forms-based authentication.
my question is how do i login using webservies to a non-FBA SharePoint server
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了。
无需使用登录网络服务。
只需在肥皂泡 Web 服务时使用 http 请求发送凭据即可。
solved.
there is no need to use Login webservice.
just send credentials with http request when soaping webservice..