Web Service variables augment the functionality of setting the default value of a parameter on a Web method.
You may want to supply a default value that is a value returned by another Web method call. In this case, you cannot set the default value for the parameter to a (static) string literal, but you can set the value to a "Web Service variable" that represents the value. Runtime variables are used in the same way as default values.
Web Service variables start with a percent sign (%) to distinguish them from default values.
For example, let's say you have a Web method that you want to use as a source. However, the Web method, you must provide a SOAP header containing a hash value based on your user id. This hash value is provided at the time you login to the Web service and is unknown at the time you design the integration.
Web Service variables allow you to define a variable that will represent the hash value at design time; and then use that variable as if it were a static value. This concept is described in greater detail in some of the Samples.
To set a Web Service variable:
If you are modifying a connection that is not used in a DTS, click Connection.
Parameter names are prefixed with the direction of the parameter: [In], [Out], [In Out], or [Return].
Note: Insight only inserts data into the SOAP header on the initial connection call. Therefore, you can only use Web Service variables with SOAP header values from the assigned login method or from :Username or :Password variables. See Default Values.
See Also
Editing Web Service connections