Products Downloads


French version


 

 

      

VADELIA

      

      

      

 

(B) (C)

 

 

 

 

Note: With VADELIA batch programs, this instruction is not compatible with the Mobile client generator.

 

Context for use

SOAP Web Service production.

 

Section for use

DECLARATION of the program

DECLARATION of a public procedure

 

Syntax

WS_EXPORT_NAME  Service Operation

 

Service

*SERVICE(WebServiceExpName) | None

Operation

*OPERATION(OperationExpName) | None

 

 

Description

This instruction lets you specify the exported name of the Web service associated with the program, and/or the export name of the operation associated with the INIT_PGM paragraph or the public procedure for VADELIA batch programs generated as Web services.

 

The *SERVICE parameter can only be used in the declaration part of the program. It defines an exported name for the Web service produced when the program is generated. If the program's declaration paragraph does not contain this instruction or the *SERVICE parameter, the program's Adelia name will be adopted as the Web service's name.

The *OPERATION parameter can be used to define the exported name for the Web service operation associated with the code in the INIT_PGM paragraph, if the instruction is used in the program's declaration part, or with the procedure code if the instruction is used in the declaration part of a public procedure. If a public procedure's declaration paragraph does not contain the instruction, the procedure's name will be adopted as the operation name. If a program's declaration paragraph does not contain the instruction or the *OPERATION parameter, the program's Adelia name will be adopted as the name of the operation associated with the code in the INIT_PGM paragraph.

 

An export name is a case-sensitive identifier up to 128 characters in length. The name of a service must not begin with an upper case character followed by a lower case character.

 

Example

WS_EXPORT_NAME  *SERVICE(MyWebService) *OPERATION(mainOperation)

WS_EXPORT_NAME  *SERVICE(MyWebService)

WS_EXPORT_NAME  *OPERATION(clientList)

 

See also the list of 4GL instructions by topic

↑ Top of page

  • Aucune étiquette