WS Call Web Service
The WS Call Web Service task calls an external web service for processing steps outside the Content Collector task route. You can call an external web service, for example, to retrieve data from external sources or to trigger specific actions.
Task summary
| Characteristic | Value |
|---|---|
| Task name | WS Call Web Service |
| Main purpose | Call an external web service with specific input data and store the response as metadata |
| Usable with which source connectors? | Email Connector, File System Source Connector, IBM® Connections Connector, SharePoint Connector, SMTP Connector |
| Usable with which target connectors? | Any target connector |
| When needed | Optional in any task route |
| Placement in task route | Can appear several times and anywhere in the task route |
| Produces which metadata? | Task Status |
| Configuration options |
Connection settings
- A valid URL to the web service to call, in the format http://server
name:port/path.
Use the fully-qualified server name. The address must begin with http:// or https:// and might require a port number.
Tip: Use HTTPS connections for secure communication between Content Collector and the external web service. - The user ID and the password of the user account that Content Collector uses for calling the web service.
Optionally, you can change the web service timeout value. This value is specified in milliseconds and determines how long the task waits for the web service to return a result. If the specified timeout is exceeded, the task status of the WS Call Web Service task is set to unsuccessful. The default timeout setting is 1 second (1000 milliseconds).
HTTP status codes other than 200 are considered to be errors. The task status is then also set to unsuccessful. The HTTP response is written to the Task Result metadata property.
Response metadata mapping
Select the metadata source that is to be populated with the data that the web service returns. The metadata source can be a system metadata source or a user-defined metadata source. The web service returns a JSON structure that contains the result for each entity.- User-defined Metadata
- Select a metadata source. The ID field in the General section shows the unique ID for the metadata source. The property IDs are displayed in the Metadata Properties list.
- System Metadata
- To see the IDs of all installed metadata sources or of specific properties, click the respective Show/hide IDs button.