Sharepoint 和 SQL Server 端点
我在 MS SQL Server 2005 上创建了一个指向我的 Active Directory 的 LinkedServer。 没什么太花哨的。 简单的 LinkedServer,将 ReadOnlyAdmin 帐户分配给 CONNECTAS 属性。
然后我创建了一些存储过程来从 LinkedServer 检索一些数据。 再次没有什么太花哨的。 只是一些简单的 LDAP 查询。
然后我创建了一个SQL 端点来将这些存储过程公开为Web 服务。 使用 Visual Studio 2008,一切都很好。 它找到端点,获取可用方法的列表并顺利运行。 凉爽的。
但Sharpeoint Add Web Service不知何故不起作用! 它发现 WSDL 文件没有问题。 检索所有函数和参数的列表,但只是不运行它们! 有什么建议或者我应该从哪里开始检查?
I created a LinkedServer on MS SQL Server 2005 pointing to my Active Directory. Nothing too fancy. Simple LinkedServer with ReadOnlyAdmin Account assigned to CONNECTAS Property.
Then I created some storedprocedures to retreive some data from the LinkedServer. Again nothing too fancy. Just a few simple LDAP Queries.
Then I created a SQL Endpoint to expose these stored procedures as Web services. Using Visual Studio 2008, everything is fine and dandy. It finds the endpoint, gets the list of the methods available and runs smoothly. Cool.
But the Sharpeoint Add Web Service somehow doesn't work! It finds the WSDL file no prob. Retrieves the list of functions and parameterss n all but just simply doesn't run them! Any advice or where I should start checking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定这是否有帮助,但根据我的经验,如果 SQL Server 和 SharePoint 服务器不是同一台,则无法从 SharePoint 站点访问 sql 端点。
Not sure if this helps, but from my experience, it's not possible to access sql endpoints from a SharePoint site if the SQL Server and the SharePoint server are not one and the same.