在Kerberos中托管的SharePoint WCF服务 [英] SharePoint WCF Service hosting in kerberos

查看:81
本文介绍了在Kerberos中托管的SharePoint WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

尝试在sharepoint 2016网络应用中托管wcf服务。当我尝试在另一个解决方案中添加此服务作为服务参考时,我不断受到信用卡质疑并获得错误  HTTP请求未经授权使用客户端身份验证方案
'匿名'。  从服务器收到的身份验证标头是'NTLM,Negotiate'。 远程服务器返回错误:(401)未经授权。

Trying to host a wcf service in sharepoint 2016 web app. When i try to add this service as a service reference in another solution i keep getting challenged with creds and get error The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM,Negotiate'.The remote server returned an error: (401) Unauthorized.

如果在当前解决方案中定义了服务,请尝试构建解决方案并再次添加服务引用。

If the service is defined in the current solution, try building the solution and adding the service reference again.

2016年网络应用程序是kerberos成立。究竟什么是wcf服务的配置文件?当我禁用匿名身份验证时,即使在服务器内也无法访问该服务。

2016 web app is kerberos set up. What exactly should be the config file for the wcf service? The moment i disable anonymous auth, the service is not accessible even within the server.

谢谢,

Goutham

推荐答案

您好Goutham,

Hi Goutham,

请检查以下文章中的步骤以创建WCF REST服务并托管在SharePoint中。

Please check the steps in the article below to create a WCF REST service and hosted in SharePoint.

https://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom- wcf-rest-service-hosted-in-sharepoint-and-deploy-in-a-wsp.aspx

并使用Fiddler监控请求并获取更多信息。

And using Fiddler to monitor the requests and get more information.

最诚挚的问候,

丹尼斯


这篇关于在Kerberos中托管的SharePoint WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆