I'm trying to consume data from one of our SaaS providers (Ultimate Software) via SSIS 2012 Enterprise Edition.
I'm well aware that the Web Service task is useless for anything but the most simple web services and have pretty well abandoned trying to make use of it for this project.
To get access to the data I need, I actually have to call two separate web services, one to login and obtain an Authentication token, the other to actually request the data I'm looking for.
I've put together a script component source, using the vendor's example code. As soon as I attempt to instantiate a new loginClient via the following code:
LoginService.LoginServiceClient loginClient = new LoginService.LoginServiceClient("WSHttpBinding_ILoginService");
I get the following error:
Could not find endpoint element with name 'WSHttpBinding_ILoginService' and contract 'LoginService.ILoginService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.
I've been able to get the vendor's code to work pretty much as is as a console application in visual studio, but as soon as I try to make it work as a script component it falls apart. Thank-you!