Designer 10.7 | webMethods Service Development Help | Running Services | Supplying Input Values to a Service | Entering Input for a Service | Specifying Values for an Object List Variable
 
Specifying Values for an Object List Variable
You can set values for most constrained Object Lists. You cannot assign values to:
*Object Lists constrained as a byte [ ]
*Unconstrained Object Lists (Object Lists of unknown type)
When you set values for constrained Object Lists, Designer automatically validates the values. If the value is not of the type specified by the Object List constraint, Designer displays a message identifying the variable and the expected type.
Use the following procedure to specify values for an Object List variable. You perform this procedure from:
*The Input tab if you are working with a launch configuration
*The Enter Input for serviceName dialog box if you are running or debugging a service
*The Enter Input for variableName dialog box if you are assigning a value to a pipeline variable
*To specify values for an Object List variable
1. Select the Object List variable.
2. Do the following to append, insert, and delete Objects within the Object List:
To...
Do this...
Append an Object to the end of the list
Click Add Row.
Insert an Object into the middle of the list
Select the Object below where you want to add the new one and click Insert Row
Remove an Object from the list
Select the Object and click Delete Row
3. If you want Integration Server to use the value you specified only when the variable does not contain a value at run time, clear the Overwrite pipeline value check box. (If you select this check box, Integration Server will always apply the value you specified.)
Note:
The Overwrite pipeline value check box is not available when using a launch configuration.
4. After adding the Object List elements you want and specifying values, do one of the following:
*If you are working with a launch configuration, click Apply on the Input tab to save the value you entered. You can continue to specify values or click Run to execute the service.
*If using the Enter Input for serviceName dialog box, continue to specify input values, or if you are finished, click OK to close the dialog box and execute the service.
*If using the Enter Input for variableName dialog box, click OK to close the dialog box.