SSIS XMLSource only seeing null values in XML variable

后端 未结 2 1420
伪装坚强ぢ
伪装坚强ぢ 2021-01-20 10:21

I have a Data Flow task with an XMLSource that references an XML Variable. The DataFlow task does recognize that there are x number of rows in the variable, but it only sees

2条回答
  •  野性不改
    2021-01-20 11:01

    I too had the same problem,. I was trying to consume a web service and import the output xml into a table in sql 2008.

    The issue is really with the namespace that gets generated in the output xml by the webservice. The trick I have used was
    1. Stored the output of the web service in a package level variable
    2. Add a 'script task', to replace the unwanted name space.
    3. Then used 'XMl Source Task' to import the data into a table.

    -Kris...

提交回复
热议问题