在SharePoint Foundation中创建自定义WCF服务 [英] Creating a Custom WCF Service in SharePoint Foundation
问题描述
我正在遵循本指南: https://msdn.microsoft.com/en-us/library/office/ff521581(v = office.14)。 aspx
现在我在第15步,输入我的网址,然后点击go,之后
它返回以下消息:
HTML文档不包含Web服务发现信息。元数据包含无法解析的引用:' http://SharepointSite.com/_vti_bin/Revert.svc '。
HTTP请求未经授权,客户端身份验证方案为"匿名"。从服务器收到的身份验证标头是'NTLM'。远程服务器返回错误:(401)未经授权。如果在当前解决方案中定义了服务,请尝试构建
解决方案并再次添加服务引用。
< p style ="padding-right:0px;字体大小:15像素;行高:继承; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;垂直对齐:基线;明确:两者;颜色:#242729">
我尝试了一些东西,但没有任何作用,服务存在,因为我看到它 http://sharepointsite.com/_vti_bin/ 但是当我点击它时
它返回消息:服务'/_vti_bin/Revert.svc'不存在。
知道我做错了什么?
您好,
为SharePoint 2013开发自定义WCF ,这里有两个很好的主题,详细步骤供您参考,您可以尝试按照步骤进行操作。
如果您再次遇到问题,可以回复。
最好的问候,
利跨度>
I'm following this guide :https://msdn.microsoft.com/en-us/library/office/ff521581(v=office.14).aspx
And now I'm on the step 15, I type my url and I click on go, after that
it returns the following message:
The HTML document does not contain Web service discovery information. Metadata contains a reference that cannot be resolved: 'http://SharepointSite.com/_vti_bin/Revert.svc'. The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'. 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.
I tried some things but nothing works, the service exists well as I see it on http://sharepointsite.com/_vti_bin/ but when I click on it It returns the message: The service '/_vti_bin/Revert.svc' does not exist.
Any idea of what I'm doing wrong?
Hi,
To develop custom WCF for SharePoint 2013, here are two good threads with detailed steps for your reference, you could try to follow the steps.
If you faced issue again, you could post back.
Best Regards,
Lee
这篇关于在SharePoint Foundation中创建自定义WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!