Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Consuming a secure web service in SSIS

$
0
0

To whomever can offer assistance, I would be very grateful: Could someone please supply an example for how to consume a web service using a secure certificate in SQL Server Integration Services, preferably in C#. I'm working with a SQL Server 2008R2 platform with BIDS purchased after SQL Server installed (Visual Studio 2008, version 9.0).

My own research indicates that I need to combine use of the X509Certificate class, and the HttpClientConnection class (specifically using the Certificate property).

I have successfully enumerated the installed certificates. I can create an OLEDB connection. And I can consume an unsecured web service. I'm having difficulty, however, figuring out how to implement a web service when the certificate has to be packaged with a web service method request to retrieve data.

Where is it best to do this? In a script component, or script task?

Is there a better class to use than the HttpClientConnection?

As an aside ... this is a repeat inquiry of an Integration Services forum post, although a more focused question than before. It's being asked again subsequent to my TechNet subscription initiation, hoping that it will kick in and get my question answered if I can't obtain one from the forum community.

I'm an occasional C# .NET user, although no novice at programming, nor intimidated by challenging environments. I am, however, troubled by what appears to me to be a less than ideal number of examples that demonstrate how classes can be implemented in SSIS to facilitate higher-level, but surely common tasks, such as consuming web services with secure certificates.

This is a problem I've been trying to work through off and on for a couple of weeks now. I keep stumbling onto deprecated procedures, or outright Visual Studio examples that don't help understand deployments in the peculiar SSIS template environment. I'd sure appreciate a clear explanation - and thank you very much for the help.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>