The Call Web Service statement communicates with a web method from a Web Service that is registered with eCASE. The Service and Operation drop-downs help to select the desired web method.
Web Services contain one or more methods, which operate based on Inputs and Outputs. The UI Designer lets you use values in your form as the inputs, and then assign the outputs to fields in your form.
When you select a method, the UI Designer updates the Inputs and Outputs area based on the selected web method.
Type | Description |
Input | The Input area lists all the input parameters from the web method. You can fill the value you want to pass in, which could be a static value, a value from a field, or value returned by a formula. To define an input, click the Expression Editor button (shown in red below). In the Expression Editor, you have the option of writing an expression to modify the input value before it is submitted to the web service. |
Output | A web method may have multiple response data elements or even no response data. All response data is listed in the Element dropdown. By selecting the response data and field name in the Field drop-down, the value of the selected response data is assigned to a selected field when the statement is executed. You can add more entries into the “Output” area with the “Add Output” button so that different response data can be assigned to a field or the same response data can be assigned to different fields. |
NOTE: When a call to a web service returns multiple values, it usually needs to be bound to a MVAL field in a repeating table. If it is bound to a single value field, the first record that the service returns is used, and the rest will be ignored.