Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 25-Apr-16 1:30am
Comments
Herman<T>.Instance 25-Apr-16 6:48am    
Create a WCF service with ODATA/EF etc.

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.
 
Share this answer
 
v2
 
Share this answer
 
Comments
Nagarjuna Kaipu 25-Apr-16 7:17am    
I need a pure sql web service to expose stored procedure to other applications but not using other technologies like .net or java.
Nigam,Ashish 25-Apr-16 8:32am    
ok

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900