Web methods take input values and may return output values. With that basic design principle of a Web method, the Adapter for Web Services provides you the ability to define default values for the input values.
To use a Web method as a source, you may have to provide "input" values to get the return "output" value that will ultimately represent your source data.
For example, suppose that your Web method returns an array of customers as the output value. However, this Web method requires that you supply filter information as "input" values.
GetCustomers([in] FilterCriteria): [out] CustomerArray
To get the array of customers you wish to use , you must first supply filter criteria as an "input" by setting the default value for FilterCriteria input value.
In this example, you could set the default value to "*" (a wildcard). Then, when the GetCustomers(...) method is called, the value "*" will be supplied to the Web Service and the subsequent CustomerArray will contain your source data.
Every parameter in a method is prefixed with the direction of the parameter: [In], [Out], [In Out], or [Return].
To set the default value for a specific field:
If you are modifying a connection that is not used in a DTS, click Connection.
Foo For Return parameters only, enter a regular expression to evaluate. If the value satisfies the regular expression, the Web method call is considered to have failed and that failure is logged.
Note: The Value text box includes the predefined values for :UserID and :Password. You can use these values to bind a user Id and password to specific parameters of a method designated as the Log On method. You can also define Web Service variables to be evaluated before or after the web method has been called.
See Also
Editing Web Service connections