HI Gerhard,
Thank you for using Microsoft MSDN Managed Newsgroup. My name is Mark Han.
I am glad to work with you on this issue.
From your description, I understand that you would like to use SQL trigger
to call a web service from a SQL . If I have misunderstood, please let me
know.
in order to address you concern, I sum up the following 2 method for you.
1 it is supported to call a web services from a SQL CLR stored prodecure.
and the CLR stored procedure is able to be executed by a trigger. About CLR
stored procedure, there is an article to share with
you:http://msdn.microsoft.com/en-us/library/ms131094.aspx
2 we call a Web service successfully from an Integration Services package
by configuring an HTTP connection manager and the Web Service task. there
is an article to share with
you:http://technet.microsoft.com/en-us/library/cc952927.aspx Therefore, to
achieve you concern, we can create a SSIS package with web service task and
correct configuration of the HTTP connection. SSIS Package is able to be
executed by job. so we can create a job to execute the SSIS package without
schedule and involve the job in the sql trigger.
Based on my research, there is no article on the best practice of how to
call web service from SQL. according to my experience, I prefer to use SQL
CRL stored procedure to call web service and involve the CRL stored
procedure in the SQL trigger. however considering the scenario, we could
choose one of the above method.
If there is anything unclear, please do not hesitate to let me know. Have a
nice day!
Best regards,
Mark Han
Microsoft Online Community Support
===========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: ***@microsoft.com.
===========================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or
a Microsoft Support Engineer within 2 business day is acceptable. Please
note that each follow up response may take approximately
2 business days as the support professional working with you may need
further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are
best handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
============================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================