Solved

Call a web service from Sql Server 2012 stored Procedure

Posted on 2014-04-23
1
1,533 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

757 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

23 Experts available now in Live!

Get 1:1 Help Now