Email setup in SSIS
Hi All, I have a requirement in which whenever a record is inserted into the destination table, a mail should be generated. To send the mail we don't have email addresses in the database. Instead we just have the ID(integer values) corresponding to each user. Now we want that using those IDs we should be able to pull the email addresses through Web service OR Active Directory. Is this possible? If yes, can you please help me achieve that. Regards, Mayank Jain
June 11th, 2012 2:03am

In SSIS there is a possibility to use webservices. Check this example how to do it: http://www.codeproject.com/Articles/24999/Calling-a-Web-Service-from-a-SQL-Integration-Servi You should pass the ID as parameter and get the email. Then use it to execute query to update the records in the database.
Free Windows Admin Tool Kit Click here and download it now
June 11th, 2012 2:29am

Can you please explain it a little more.. I couldn't understand the example. When i am doing what is mentioned in the example it throws me some error and i am not able to find the ".wsdl" file in my project solution of webservice
June 11th, 2012 6:02am

For the WSDL file of the web service. After you create a HTTp Connection, specify an file for the .wsdl (you have to write it by hand and not use browse [...], ex: C:\myservice.wsdl). Then click on the Download WSDL button.
Free Windows Admin Tool Kit Click here and download it now
June 14th, 2012 9:28am

I'm afraid that example isn't going to help much since it is not set up to work on a record by record basis. You would need to use a script transform in your dataflow to call the webservice once per record. Take a look at this thread for some sample code http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/8f24dd3b-5b1e-4d80-93bd-284f6ad1737a Chuck Pedretti | Magenic North Region | magenic.com
June 14th, 2012 9:31am

Hey Chuck, I am not able to create the wrapper class from command prompt. Please help. Actually i have never worked on this webservie and active directory before. :( :(
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2012 12:27am

Are you getting an error or you just can't find wsdl.exe on your machine?Chuck Pedretti | Magenic North Region | magenic.com
June 15th, 2012 8:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics