Web applications can access T-SQL code if written correctly, but T-SQL code doesn't usually (as far as I know) access Web Services.
What services are you trying to access? What do you want to do with them?
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
You can't access a web service directly via T/SQL. T/SQL is the SQL Server programming language. To access an externial web service you would need to use a CLR procedure or an extended stored procedure (depending on your SQL version and what features your DBAs have enabled).
Accessing a web service via the CLR may or may not be supported. Only the following assemblies are supported.
• Microsoft.VisualBasic.dll
• Mscorlib.dll
• System.Data.dll
• System.dll
• System.Xml.dll
• Microsoft.VisualC.dll
• CustomMarshalers.dll
• System.Security.dll
• System.Web.Services.dll
• System.Data.SqlXml.dll
• System.Transactions.dll
• System.Data.OracleClient.dll
• System.Configuration.dll
(See
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.