REST configuration properties in the component configuration file (wc-component.xml)

The component configuration file (wc-component.xml) contains properties to configure various REST features.

HCL Commerce EAR

The following table summarizes the REST-related properties found in the foundation component configuration file on the HCL Commerce server. Refer to the comments within the file for more details:
Section Purpose of properties in this section
Timeout settings
RemoteRestRequestConnectTimeout
The timeout value that is used to create an HTTP connection from the search server to the HCL Commerce server for REST requests.
RemoteRestRequestReadTimeout
The timeout value that is used to terminate a REST request from the search server to the HCL Commerce server.
Note:
Local binding
RESTinLocalBindingEnabled
Determines whether local binding is enabled for REST requests.
RESTinLocalBindingPathPrefix
The path prefixes used for REST local binding requests, separated by a comma.
RESTinLocalRemoteBindingExceptionsEnabled
Determines whether exceptions that are thrown from REST requests are propagated to the calling JSP files and reflected in the storefront.
The default value is true.
Support cookies for authorization
AuthenticationAllowedUsingCookies
If set to true, REST calls are allowed to consume request cookies to identify the user. The cookies are used only if the REST tokens are not present.
The default value is true.

Search EAR

The following table summarizes the REST-related properties found in the foundation component configuration file on the search server. Refer to the comments within the file for more details:
Section Purpose of properties in this section
Timeout settings
RemoteRestRequestConnectTimeout
The timeout value that is used to create an HTTP connection from the search server to the HCL Commerce server for REST requests.
RemoteRestRequestReadTimeout
The timeout value that is used to terminate a REST request from the search server to the HCL Commerce server.
SSL Acceleration
SSLAcceleratorOption
Indicates whether to bypass the SSL secure check.
The accepted values are Enabled or Disabled.
The default value is Disabled, where the SSL secure check is not bypassed.
inSSLPort
Indicates a specific port number to bypass the SSL secure check.
The default value is port 443.
Support cookies for authorization
AuthenticationAllowedUsingCookies
If set to true, REST calls are allowed to consume request cookies to identify the user. The cookies are used only if the REST tokens are not present.
The default value is true.