如何在SQL中编写Web服务以将数据公开给其他应用程序? [英] How to write a web service in SQL to expose the data to other applications?
本文介绍了如何在SQL中编写Web服务以将数据公开给其他应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将存储过程作为Web服务公开给另一个系统。如何在MS SQL中为存储过程创建Web服务。
谢谢,
Nagarjuna Kaipu
我尝试过:
i需要一个SQL Web服务来公开存储另一个系统的过程。
I want to expose a stored procedure as a web service to another system. How can i create a webservice for stored procedure in MS SQL.
Thanks,
Nagarjuna Kaipu
What I have tried:
i need a SQL webservice to expose stored procedures to another system.
推荐答案
这取决于您的SQL Server版本。像2005/2008这样的旧版本支持原生xml服务(google it)但是如果你使用的是现代版本的SQL,这些功能已被删除,因为Microsoft建议你利用WCF等提供Web服务。
It depends on your version of SQL Server. Older versions like 2005/2008 support "Native xml services" (google it) but if you're using a modern version of SQL these features have been removed as Microsoft recommends you leverage WCF etc to provide web services.
使用此链接:
[ ^ ]
如何创建一个简单的Web服务并在ASP.Net中使用它 [ ^ ]
ASP.NET - Web服务 [ ^ ]
Use this Link:
[^]
How to Create a Simple Web Service and Use it in ASP.Net[^]
ASP.NET - Web Services[^]
这篇关于如何在SQL中编写Web服务以将数据公开给其他应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文