Running the REST endpoint generator
You can run the REST endpoint generator either from Studio or from a command prompt. Once you start the REST endpoint generator, you cannot stop it until either it completes or you force it to quit (such as by pressing CTRL+C in a command prompt).
Running the REST endpoint generator from Studio
You can run the REST endpoint generator from Studio by creating a "run configuration" for it and then using that "run configuration".
Create a run configuration for the REST endpoint generator
Procedure
Use the run configuration to run the REST endpoint generator
Procedure
- Start the application.
- In Studio, in the upper right-hand corner, there is a drop-down list. (By default, it is set to "Drop DB".) Set the value to "RESTEndpointGenerator".
- Click the green play button to the right of the drop-down list.
Results
The REST endpoint generator loads and then displays the first prompt in the console window at the bottom of the Studio interface. You can enter responses in this window. For a list of the prompts, see The REST endpoint generator prompts.
Be aware that the REST endpoint generator loads the entire type system. Therefore, there may be several minutes between starting the generator and the appearance of the first prompt.
Running the REST endpoint generator from the command prompt
From the installation directory, open a command prompt and enter the following:
gwb restEndpointGenerator
The REST endpoint generator loads and then displays the first prompt. For a list of the prompts, see The REST endpoint generator prompts.
Be aware that the REST endpoint generator loads the entire type system. Therefore, there may be several minutes between executing the command and the appearance of the first prompt.