Create a Web Service Profile

The web service profile defines how B2C Commerce detects and manages high numbers of requests to and responses from the service, as well as its availability. Different services with similar requirements can all use the same service profile.

  1. Select Administration > Operations > Services.
  2. On the Services page, click the Profiles tab.
  3. On the Service Profiles page, click New.
  4. On the New Service Profile page, enter a descriptive name for the profile.
  5. Enter the number of milliseconds for the client connection timeout. B2C Commerce waits this number of milliseconds for a response from the web service before throwing an error.
  6. Check the Enable Circuit Breaker box if you want to enable the circuit breaker to identify when a service is unavailable and stop making calls to the web service.
    By default, the Enable Circuit Breaker box is checked.
    We recommend that you always enable the circuit breaker, and configure it according to the service call rate.
  7. (Optional) Enter the number of calls that must fail to trigger the circuit breaker into the Max Circuit Breaker Calls field.
    This provides an extra level of protection on top of the default behavior provided by enabling the circuit breaker. If you set a value for this field, you must also set a value for the Circuit Breaker Interval (ms) field. Otherwise, leave both fields empty.
  8. (Optional) Enter the number of milliseconds in which the maximum number of calls can fail into the Circuit Breaker Interval (ms) field.
    If you set a value for this field, you must also set a value for the Max Circuit Breaker Calls field. Otherwise, leave both fields empty.
  9. Check the Enable Rate Limit box if you want to limit the number of outgoing calls within a specific interval.
  10. Enter the maximum number of calls that B2C Commerce makes for the rate limit interval into the Max Rate Limit Calls field.
  11. Enter the number of milliseconds in which B2C Commerce can make the maximum number of calls to the web service into the Rate Limit Interval (ms) field.