Sunday, February 12, 2012

Calling WCF Service from SQL CLR

Is it possible to call a WCF service from a SQL CLR.

We have had success calling standard web services by including a Proxy in the Assembly but I wondered if it's possible to call out to a WCF service as the enpoint configuraion is done with an external XML file and I don't know if this will work in the same way. We may want to alter the wcf configuration depending on where the service is sitting, same box or remote.

Please do not respond with 'why do you want to do this' the reson we want to do this is because we use Service broker to recieve incoming messages and want to trigger a stored procedure to do some work on an external service when it recives some data.

Cheers,

Darren

hi check out this link for more details

http://blogs.neudesic.com/blogs/shaun_collett/archive/2007/04/29/6050.aspx

No comments:

Post a Comment