I am new to SSIS and am currently working with SQL Server Data Tools for SQL Server 2012. I have a legacy application that has data that needs to be sent to the new database structure via NetTcp WCF service. I have three views in the legacy database that will contain the data that I need to send to the WCF service. The WCF service expects the data to be sent as an order object that contains 1 header, 1-to-many line items and 1-to-many details. So far I have created the workflow objects to connect to the database and retrieve the data into datareaders. I created a Script Component based on David Browne's blog, but realized it was using the WCF as a source. The questions I have are:
1. Can I create a Script Component that uses WCF as the destination? If so, how?
2. Using SSIS, how do I create the order object that contains 1 header, 1-to-many line items and 1-to-many details using the Order_ID?
Basically what I need to do is for each Order_ID in vw_HeaderInfo I need to create an order object that has 1 record from vw_HeaderInfo, 1 or more records from vw_LineItemInfo and 1 or more records from vw_DataDetails and pass each order object to the WCF service.
Randall