Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS WebService Task and Input Variables

$
0
0

Hello! to day im have are some problem with my SSIS project.

in wsdl file for request report need set some parameters as InputParams for example part source code :

 <s:complexType name="InputParams">
                <s:sequence id="InputSequence">
                <s:element maxOccurs="1" minOccurs="0" name="INCLUDE_DELETED" type="s:string"/>
				<s:element maxOccurs="1" minOccurs="0" name="MODIFIED_FROM" type="s:string"/>
				<s:element maxOccurs="1" minOccurs="0" name="MODIFIED_TO" type="s:string"/>
				<s:element maxOccurs="1" minOccurs="0" name="SHIFT_DATE" type="s:string"/>
				<s:element maxOccurs="1" minOccurs="0" name="SHIFT_NUMBER" type="s:long"/>
				</s:sequence>
            </s:complexType>

for set this parameters im want use some User Variables!

but if im do that :

 InputParams pars = new InputParams();
 pars.INCLUDE_DELETED = "1";
 pars.MODIFIED_FROM = "2015-08-09T12:13:14";
 pars.MODIFIED_TO = "2015-08-13T12:13:14";
 pars.SHIFT_DATE = "";

  Dts.Variables["User::Inputs"].Value = pars;

im get are error about not allowed type!

please ask me how send my parameters without hand change ???


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>