Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The below table lists all fields of the restClientConfig config and how the WCS server interprets them.

Parameter

Description

Default value

clientExclude

The list of fields to exclude from sending to a client (comma separated)

empty

restExclude

The list of fields to exclude from sending to REST (comma separated)

empty

restOnError

Reaction to errors or 4xx statuses:

LOG

Just log

FAIL

React and send the error

LOG

restPolicy

Ability to redefine fields:

OVERWRITE, NOTIFY or DISABLED

OVERWRITE

Overwrite

NOTIFY

Do not overwrite

DISABLED

Do not send to REST

NOTIFY

restOverwrite

The list of fields to overwrite if the option restPolicy=OVERWRITE

(comma separated)

empty

Error handling

The table displays reaction of WCS to the HTTP statuses of 4xx errors while executing REST methods:

restClientConfig settings

connect

direct invocation

event

incoming invocation

restOnError = LOG

  • Declines
  • Returns FAIL to a client
  • Logs
  • Logs
  • Logs

restOnError = FAIL

  • Declines
  • Returns FAIL to a client

 

  • Declines
  • Returns FAIL to a client
  • Declines
  • Returns FAIL to a client
  • Returns FAIL to the initiator