Hybrid Integration 10.2 | Integrating On-Premises Applications | Creating REST applications | Setting Up a REST Application Using REST API Descriptor | Configuration
 
Configuration
There are a few things you can configure with respect to REST V2 processing:
*Name of the REST V2 directive
If you want to allow clients to specify a name other than “restv2” for the REST V2 directive, you can do so with the watt.server.RESTDirective.V2 configuration parameter. For example, to allow clients to specify “process” for the REST V2 directive, you would change the property to the following:
watt.server.RESTDirective.V2=process
With this setting, clients can specify “restv2” or “process” for the REST directive. In the following example, the two requests are equivalent:
METHOD /process/discussion/topic/9876 HTTP/1.1
METHOD /restv2/discussion/topic/9876 HTTP/1.1
For more information about the watt.server.RESTDirective.V2 property, refer to webMethods Integration Server Administrator’s Guide.
*Which ports will accept the restv2 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.V2 configuration parameter. For more information about this property, refer to the webMethods Integration Server Administrator’s Guide.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release