Setting Configuration Parameters

NOTE: We recommend using the Set AFA Advanced Configuration Values REST service for this method instead. REST services are more advanced and are the preferred choice over SOAP.

The set_configuration method sets configuration attribute values, avoiding manual configuration of the .fa/config file.

The configuration attributes are saved as follows:

  • The attribute is set in the AFA default configuration file (~/.fa/config).

Request Type: SetConfigurationRequest

Element

Type

Description

SessionIDMandatory

String

SessionID obtained from the connect method.

AttributeNameMandatory

AfaNonEmptyString

Attribute name.

AttributeValueMandatory

AfaNonEmptyString

Attribute value.

Response Type: SetConfigurationResponse

Element

Type

Description

SetConfigurationResponse

AfaBoolean

On success, returns 1.

On failure, throws a SOAP fault.