REST Service Enable builder inputsAdded by IBM on June 28, 2011 | Version 1 (Original)
|This topic describes the inputs for the REST Service Enable builder.
This topic describes the inputs for the REST Service Enable builder.
- General inputs
- Service Execution Mode
Table 1. General inputs
|Data Service||Selector for a data service. The Data Service can be from a back end builder such as SQL Call, from a Service Definition builder, or a Service Consumer builder. |
|Result Type||Specify the format type for the returned results.|
XML code (default) is returned. JSON
|Enable Testing Support||Enables test pages and an index page that lists all operations. For operations that have inputs, a page is presented that lets you enter the inputs. |
Service Execution Mode
Table 2. Service Execution Mode input
|Service Execution Mode||Specify how the service is to be deployed and invoked. Select one of the following options. |
Invoke using static URL
For a service to be deployed in a standalone WAR. Invoke from same Portlet Factory session using dynamic URL
For a service to be deployed in a portlet WAR.
Use the builderNameGenerateRestUrl method to dynamically get the service URL.
Table 3. Advanced input
|Keep Data In Session||Enable to keep the service data in session context.|
Parent topic: REST Service Enable builder