[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1854
  • Last Modified:

Call a web service from Sql Server 2012 stored Procedure

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
yadavdep
Asked:
yadavdep
1 Solution
 
ProjectChampionCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now