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.


WebSphere Commerce EAR

The following table summarizes the REST-related properties found in the foundation component configuration file on the WebSphere 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 used to create an HTTP connection from the search server to the WebSphere Commerce server for REST requests.

    RemoteRestRequestReadTimeout
    The timeout value used to terminate a REST request from the search server to the WebSphere Commerce server.

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.
    Default 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.
    Default 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 used to create an HTTP connection from the search server to the WebSphere Commerce server for REST requests.

    RemoteRestRequestReadTimeout
    The timeout value used to terminate a REST request from the search server to the WebSphere Commerce server.

SSL Acceleration

    SSLAcceleratorOption
    Indicates whether to bypass the SSL secure check.
    The accepted values are Enabled or Disabled.
    Default is Disabled, where the SSL secure check is not bypassed.

    inSSLPort
    Indicates a specific port number to bypass the SSL secure check.
    Default 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.
    Default is true.