Can a SQL Server 2008 database support both a REST and SOAP web services within two different endpoints?
Posted
by
PaulDecember
on Stack Overflow
See other posts from Stack Overflow
or by PaulDecember
Published on 2011-11-14T17:45:08Z
Indexed on
2011/11/14
17:50 UTC
Read the original article
Hit count: 146
Say you have a SQL Server 2008 database. You build a SOAP web service. You then deploy or publish this using Visual Studio 2010 in one website. Now, using the same database, you build a REST web service, in a different solution. You deploy this on another website.
Can you consume the endpoints and/or .svc file of both the SOAP and REST web services, though they reference the same SQL Server 2008 database?
I don't see why not, but before I go down this path and spend days I'd like to make sure.
Also if there's a performance hit to the database if it is running both SOAP and REST at the same time--again, I don't see why it would matter, but I must make sure. Thanks.
© Stack Overflow or respective owner