W4 Endpoint Configuration (Magic xpi 3.x)
When you configure a W4 service in the Service Repository, you click the Endpoints button to open the Endpoint dialog box. Here, you can define how to call Magic xpi from W4, in order to invoke the trigger.
The Endpoint dialog box consists of three sections. The left-hand section is the Endpoint Name pane, which contains a list of endpoints. You can add or delete endpoints by clicking the New or Delete buttons.
The upper section of the dialog box is the Endpoint Details pane. This contains the following fields:
|
|
Endpoint URL
|
This read-only field gives you the URL for calling the W4 trigger from an external source. The URL is based on the Web Server and Alias parameters that you defined in the Service Repository.
|
The lower section of the dialog box is the Argument Details pane. This displays the arguments for the operations that you added in the Endpoint Details pane. It consists of the following fields:
|
|
Argument Name
|
The name of the argument sent to the W4 trigger by an external call to Magic xpi. The name cannot start with special characters.
|
Data Type
|
Select one of the following data types from the drop-down list:
|
Format
|
The size of the variable and its picture.
|
Default Value
|
The default value is set automatically by Magic xpi if the received argument does not have a value.
|
Mandatory
|
Check this box to indicate whether this argument must have a value (or a default value) when sent to the trigger.
|