Previous Topic: Generate and Compile the Service Program

Next Topic: Deploy the Web Service Instance

Create a Web Service Function

The CA 2E Web Service uses the Service Program you created in the previous procedures to create a Web Service Function. This function contains one-to-multiple operations, where each operation corresponds to a single procedure in a module in an ILE Service Program.

Follow these steps:

  1. Access the EDIT FUNCTIONS screen.
  2. Add a new Web Service function type by competing the following fields:
    Function

    Order websrv

    Function type

    Web Service

    Access Path

    *NONE

  3. Press Enter to save, and then take option Z (Details) for the EDIT FUNCTION DETAILS screen.
  4. Complete the details fields as follows:
    Web service name

    GetOrder

    Service program file

    Order Detail

    Service Program Function

    Order srvpgm

  5. Press Enter to save, and then F3 until you return the EDIT FUNCTIONS screen.

The result is a modeled Web Service Function, but it is not available to invoke until you complete the following procedure to deploy Web Service Function on your Web Server.