WCF Web 服务与 Sharepoint 兼容吗?
我试图通过 Sharepoint 设计器将 dataview webPart 放置在 WSS 页面上,使用 WCF Web 服务,但是当我放置 Web 服务的 WSDL 时,出现错误。 我将 WS 迁移到 ASP.Net WS,它运行得很好。
该错误与肥皂信封有关。 我现在使用匿名消费(不想增加任务的复杂性)
我必须在 WCF 上做些什么才能使其与 WSS “兼容”吗?
I am trying to place a dataview webPart on a WSS page through Sharepoint designer, consuming a WCF Web service, buth when I place the WSDL of my Web Service, it gives me an error. I migrated the WS to ASP.Net WS and it work perfectly.
The error is related to the Soap envelope. I am using anonymous consumption for now (don't want to add complexity to the task)
Is there something I have to do on WCF to make it 'compatible' with WSS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
默认情况下,OOTB 您无法通过 SharePoint Designer 使用 WCF 服务(据我所知)。
但是 "使用 WCF 服务使用 Sharepoint Designer” 描述了调整数据源以便您可以在 SharePoint Designer 中读取数据的解决方法。
By default OOTB you can't consume a WCF service through SharePoint Designer (afaik).
However "Consume WCF service using Sharepoint Designer" describes a workaround to adjust the datasource so you can read it in SharePoint Designer.
听起来您正尝试将 WCF Web 服务放入 SharePoint 中,对吧? 如果是这样的话,我最近遇到了这个问题。 基本上有两种方法:
我选择了后者,但请在此处的 ThreeWill SharePoint Depth wiki 上详细了解两者:在 SharePoint 中托管类似 WCF 的 REST 和 JSON 服务。
It sounds like you are trying to put a WCF web service within SharePoint, right? If that is the case I ran into just this problem recently. You basically have two approaches:
I have opted for the latter, but go into detail on both at the ThreeWill SharePoint Depth wiki here: Hosting WCF-like REST and JSON Services in SharePoint.