Configuring HTTP Methods Allowed for a Service
For security purposes, you can configure Integration Server services to process client requests containing only certain HTTP methods. The HTTP methods that you configure as allowed for a service override the methods that are allowed for any REST resource corresponding to the service. Integration Server issues a "405 Method Not Allowed" error in response to any request containing a method that is not configured as allowed for a service.
To configure the HTTP methods allowed for a service
1. In the Run time category in the Properties view, click next to Allowed HTTP Methods. The HTTP Methods dialog box appears.
2. Select the HTTP methods you want to configure for the service, and click OK to save your changes.
Important: | If the service already has REST resources configured, Designer displays a warning message if you change the selection of the allowed HTTP methods to exclude any method used in the configuration of the resources. In such a situation, any client request invoking the excluded method will fail. Therefore, you must ensure that the set of HTTP methods configured for a REST resource is always a subset of the methods allowed for the underlying service. |