Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Invoke Web Service from Stored Proc

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-23 : 07:11:49
Alex writes "Hi,

I have to invoke a Web Service (built in C# in visual Studio .NET) from a Stored Proc. I want to invoke methods in TSQL and get result in my stored proc. I tried using "sp_OAMethod" but I can't make it work. I think it must have a simple way doing this...

Any suggestions?

Thanks,

Alex"

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2004-01-23 : 07:26:41
This is best handled in the middle tier, not the data tier, though you can make a call using sp_oa methods and MSXML:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=30519&SearchTerms=xml

http://support.microsoft.com:80/support/kb/articles/Q290/5/91.asp&NoWebContent=1&NoWebContent=1&NoWebContent=1

Currently, results are limited to varchar(8000).
Go to Top of Page
   

- Advertisement -