To display or modify the Java (Service Web) generation options, click the Java button in the Generation dialog box (for reportless VADELIA batch programs, after selection of the Web Service option in the "Java generation" drop-down list).
Generation directory
Sources directory
Name of the directory where the generated source files will be stored.
During the first generation procedure, the system suggests by default:
the sources directory name specified in the application area attributes if the program is private;
the sources directory name specified in the environment attributes if the program is public.
Site root directory
Name of the root directory for the site, in which the executable object will be placed.
During the first generation procedure, the system suggests by default:
the directory name of the object specified in the application area attributes if the program is private;
the directory name of the object specified in the environment attributes if the program is public.
These directory names must be entered as they are "seen" by the compiling machine.
Class subdirectory
Name of the subdirectory (relative to the "site root directory") in which the executable object will be placed.
During the first generation procedure, the system suggests by default:
- the directory name of the object specified in the application area attributes if the program is private;
- the directory name of the object specified in the environment attributes if the program is public.
Web Services
Data entry
Style
Sets the implementation type of the Web services. The REST option is used to produce web services in a RESTful architecture.
The options RPC, WRAPPED, DOCUMENT or DOCUMENT_JAXWS are used to produce SOAP standard web services in a particular style and a particular implementation.
SOAP Web Services
Detail of the different styles:
RPC | => Style RPC/Encoded | Underlying framework: Axis1 Obsolete, no longer used. |
WRAPPED | > Style DOCUMENT/Literal Wrapped | Underlying framework: Axis1 Obsolete, no longer used. |
DOCUMENT | => Style DOCUMENT/Literal | Underlying framework: Axis2 |
DOCUMENT-JAXWS | => Style DOCUMENT/Literal | Underlying framework: Axis2 JAX-WS Implementation by annotations |
Services Web REST | ||
REST | Underlying framework: CXF JAX-RS Implementation by annotations. Spring configuration. |
Note: Only the DOCUMENT and DOCUMENT_JAXWS styles allow to produce Web services with complex input parameters (Lists, tables) for SOAP Web services.
Automatic registration
Data entry
Access point
Access point by default for the Web service.
Default value:
http://localhost:8080/NomduSite/services if the style is RPC or WRAPPED.
http://localhost:8080/NomduSite/servaxis2 if the style is DOCUMENT or DOCUMENT_JAXWS.
Radio buttons
Default visibility
Sets the default visibility for the registered SOAP Web service (i.e. public or private).
Buttons
Modify (validation)
Validates the modifications made and closes the dialog box
Cancel
Closes the dialog box without validating the modifications made.
Keyboard shortcut: Esc.