Solved

Call a web service from Sql Server 2012 stored Procedure

Posted on 2014-04-23
1
1,554 Views
Last Modified: 2016-02-10
I have few stored Procedures which run some query and based on the result send mail to clients.

Now my client has added a web service in his company which sends mail to customers.

He wants me to use this service inside the store procedure and send mail through this web service.

I need to know what would be the best option for me here to call this service for sending emails.
Should I go for SQL CLR and UDF?
0
Comment
Question by:yadavdep
1 Comment
 
LVL 8

Accepted Solution

by:
ProjectChampion earned 265 total points
ID: 40019452
You can use an SSIS package, use a script task to call the URL and get the response back and use it within your store proc.

Let me know, I can help with the actual script if you decide to go down that path.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now