rest-call

A call operation to perform any kind of REST over http call.

Fixed attributes:

  • type: Unmodifiable. Used by GreenVulcanoESB factory framework.

Implied attributes:

  • so-timeout: Socket timeout (in milliseconds). Default: 3000.
  • conn-timeout: Connect timeout (in milliseconds). Default: 3000.

Required attributes:

  • method.
  • request-uri.
  • name: Operation name. Used in the ‘Flow’ section to associate workflow nodes to VCL operations.

Subelements

rest-call has the followong subelements:

  • truststore (optional).
  • rest-call-defaults (optional).
  • headers (optional).
  • parameters (optional).
  • body (optional).

truststore

Custom trust-store settings to use in call-operation.

Implied attributes:

  • algorithm: Keystore algorithm.
  • password: Keystore password.

Required attributes:

  • path: File system path to get the keystore.

rest-call-defaults

Used to configure recurring settings in call-operations.

Subelements

rest-call-defaults has the followong subelements:

  • headers (optional).
  • parameters (optional).
  • body (optional).

headers

Headers configuration to connect to the server.

Subelements

headers has the followong subelement:

  • header (zero, one or multiple elements).

Single header configuration to connect to the server.

Required attributes:

  • value: Header value.
  • name: Header name.

parameters

Parameters configuration to connect to the server.

Subelements

parameters has the followong subelement:

  • param (zero, one or multiple elements).

param

Param configuration to connect to the server.

Required attributes:

  • name: Unmodifiable.
  • value: Parameter value.