Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | webMethods Query Language | Usage Notes on REST | Configuring a REST Resource Using the Legacy Approach | Setting Up a REST Application on Integration Server | Configuration
 
Configuration
There are a few things you can configure with respect to REST processing:
*Name of the REST directive
Note:
You can configure the name of the REST directive only for resources that use the rest directive, that is, the REST resources configured using the legacy approach.
If you want to allow clients to specify a name other than rest for the REST directive, you can do so with the watt.server.RESTDirective configuration parameter. For example, to allow clients to specify process for the REST directive, you would change the property to the following:
watt.server.RESTDirective=process
With this setting, clients can specify rest or process for the REST directive. In the following example, the two requests are equivalent:
METHOD /process/discussion/topic/9876 HTTP/1.1
METHOD /rest/discussion/topic/9876 HTTP/1.1
For more information about the watt.server.RESTDirective property, refer to webMethods Integration Server Administrator’s Guide.
*Which ports will accept the rest directive
By default, all Integration Server ports except the proxy port allow use of the rest directive. You can limit which ports will allow this directive by specifying them on the watt.server.allowDirective configuration parameter. For more information about this property, refer to the webMethods Integration Server Administrator’s Guide.