请教大家,为什么在SSIS xml source 中用变量不能生成xsd文件?

0
我在重复BIWORK老师的文章“在SSIS 中使用Web Service 以及XML 解析”的时候,发现如果用“XML file from a variable" 和 "User::VarCityinfo" 的情况下不能生成xsd 文件,错误信息是”变量中没有xml 数据“。
 
然后在定义变量的expression里加了一个".XMLProcessing"后缀,同样不能生成xsd 文件,错误信息是“data at the root level is invalid. Line 1,position 1".
 
两种情况下,我都填好了xsd 文件的需要的路径,但是不能生成xsd. 如果在上一步web service task的输出改为xml 文件的话,在xml 数据源中再生成xsd 就没有问题。
 
想请教大家这样是否正常?或者是我在定义变量的时候有错误(定义为string)?
已邀请:

要回复问题请先登录注册