endpointBehaviors - Web Services Publishing - English - Foundation 22.1 - OnBase - external

Web Services Publishing

Platform
OnBase
Product
Web Services Publishing
Release
Foundation 22.1
License

This section is a child of the behaviors section. The settings in this section control the format in which REST responses are sent. The endpointBehaviors section is only included in the web.config file if the web service being configured has the REST protocol enabled as a service endpoint.

The following settings are in the webHttp node:

Setting

Description

helpEnabled

This option is used to expose a WCF help resource that provides information on how to create valid calls to the service. Set this value to true to expose the help resource, or false to disable the help resource.

defaultOutgoingResponseFormat

This option is used to define the default format of all outgoing responses. This setting can be set to Xml or Json.

Note:

These values are case-sensitive.

This setting is not respected if the automaticFormatSelectionEnabled setting is set to true.

automaticFormatSelectionEnabled

This option is used to determine whether or not responses are sent using the same format as the request. Set this value to true to send responses using the same format as the request.