SQL – CLR with WCF

CLR in WCF

Source:

https://code.msdn.microsoft.com/Calling-WCF-Service-from-a-8071ceaa

One important part is this (Add the service as a Web reference and not service reference):

From the next window, click on Advance (That’s because we should add the reference as a Web Reference, and not as a WCF Service Reference. The WCF Client is not supported in SQL CLR, and in SQL 2012 it doesn’t work).

Else you will need to import more .dll to your Sql Server.

 

Other links:

WCF from CLR Functions

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s