November 24, 2005 at 11:26 am
I'm looking a t-sql code for call a webservice from store proc (triggers). If I call the webservice from web it works but if I call from trigger (using xp_cmdshell) don't.
Ideas?
Ricardo
November 24, 2005 at 1:25 pm
If you are using xp_cmdshell check the permissions for the proxy account.
Does it display any error?
November 24, 2005 at 2:19 pm
No errors are displayed.
About what are you talking when you write "proxy account", i think is the same permissions if you call the webservice from browser or from cmd shell (or not?)
November 24, 2005 at 4:02 pm
When you run xp_cmdshell with a non sa account, it's executed in the context of the proxy account, so this account needs access to the objects.
From BOL, "xp_cmdshell":
November 25, 2005 at 11:13 am
Thanks mdaniel,
Let me try. I'm almost sure that's the solution.
Bye
November 25, 2005 at 12:27 pm
Try if at all possible not to call a web service from TSQL and it is even worse from a trigger!!
Just my $0.02
* Noel
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply