有点背景。我已经与ASMX和PageMethods合作过,但目前还没有WCF。我正在开发Win 7 Pro,并安装了Windows Communication Foundation HTTP激活,并安装了Windows Communication Foundation HTTP非激活。我还在部署到也在我的计算机上运行的SharePoint Foundation 2010。SharePoint Foundation 2010中的SVC提供HTTP 400:错误请求
我正在开发访问非SharePoint数据的SharePoint的自定义Web服务。我发现了几篇关于在SharePoint中创建WCF服务的文章。我遵循这个指令,http://answers.oreilly.com/topic/1404-how-to-customize-wcf-services-in-sharepoint-2010
我可以加载MEX,例如, http://mySite.com/Services/MyService.svc/MEX,但如果我去http://mySite.com/Services/MyService.svc,我得到一个HTTP 400错误请求。
查看事件查看器日志,没有任何与此错误相关的内容。 IIS日志只显示服务的GET。
我假设它没有正确部署或有一些权限问题。
带有SharePoint网站(不是SVC)的我的400在IIS中是不正确的绑定。 – PeterX