Set list[] with variable in webservice task
-
Tuesday, July 24, 2012 3:40 PMHello,
I am calling a webservice in a webservice task and one of my parameters is a list[].
I am assigning a variable of type object to it which holds result of my query with just one field.
it is throwing an error. However when I manualy put values into to this list[] parameter it works fine.
Anyone did this before?
Also, when I assign the object variable the WS parameter type shows as "int[]". Howver when I close and go back in the type shows just "int".
thanks.
All Replies
-
Tuesday, July 31, 2012 8:01 AMModerator
Hi JulsJuls,
You can set DelayValidation to True on package elements whose configuration is not valid at design time to prevent validation errors. For example, you may have a Data Flow task that uses a destination table that does not exist until an Execute SQL task creates the table at run time. The DelayValidation property can be enabled at the package level, or at the level of the individual tasks and containers that the package includes. Normally you must leave this property set to True on the same package elements when you deploy the package, to prevent the same validation errors at run time. For more details about it, please see:
Troubleshooting Tools for Package Development: http://msdn.microsoft.com/en-us/library/ms137625.aspx
If the issue still persists, what is the error message appeared? Please supply more information about the issue, then we could help you better.
Thanks,
Eileen- Marked As Answer by Eileen ZhaoMicrosoft Contingent Staff, Moderator Monday, August 06, 2012 5:56 AM

