I have an SSIS job that queries Active Directory and saves user account records into our database. It uses a Script Component to execute the required LDAP queries, and loads the user account values into variables defined in the Output Buffer which lives in the Script Component. Once processed, I take the results from the Output Buffer and use an OLE DB Destination Editor to map the values into a table.
Currently, I am loading the XML into a "Unicode string [DT_WSTR]" variable, but it has a maximum upper limit of 4000 characters. As such, I cannot process XML larger than 4000 characters (yet)...but I want to.
I'm still new to SSIS...and I have tried various online examples to no avail.
How can I parse XML larger than 4000 characters into something the Output Buffer can use and the OLE DB Destination Editor understands?