EGL Reference Guide for iSeries

Creating an EGL Web service definition file

For details on the uses of a Web service definition file, see EGL Web service. To create such a file, do as follows:

  1. Click File > New > Other; and at the New screen, click EGL, then EGL Web Service Definition, then Next.
  2. The Select Container page is displayed.
  3. Identify the file:
    1. Assign a folder name, either by typing a folder name in the first text box or by expanding entries until the folder name of interest is in that text box.
    2. Type a file name in the last text box.
    3. Click Finish.

    The name of the Web service definition file is the name of the Web service, followed by the extension .eglwsd. The Web service name cannot be the same as an operation name and cannot include a currency symbol or hyphen; for other details, see Naming conventions.

  4. Work in the Web Service Operations grid to relate one or more operations to each EGL program:
    1. Click Add.
    2. In the second column of the active row, click the down arrow to select an entry from a drop-down list. The path is relative to the workspace.
    3. To accept the program name as the operation name, do nothing more in the active row; otherwise, type the operation name in the first column of the active row.

      You are required to specify an operation name explicitly if the program name is invalid as an operation name; for details, see Naming conventions.

    4. If you want to delete a row, click into that row and click Remove.
    5. To save the file, press Ctrl-S.


Related concepts
EGL Web service


Related tasks
Creating an EGL Web service
Editing an EGL Web service definition file


Related reference
Naming conventions


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]