INT009B - SOAP Service - Define Agent
The web service created in these exercises is called GetEmployees.
The SOAP Agent consuming the GetEmployees web service will pass a department and section to the server.
-
A list of employees for that department and section will be returned by the publisher, the SOAP Server, as an array.
-
If only a department is passed, a list of employees in all sections for that department will be returned.
-
If no department and section is provided, then all employees for the company will be returned.
The SOAP Agent program created to test this web service uses Visual LANSA RDMLX, but it could be created using an RPG program equally well.
To create the service as shown in the diagram above, you must have completed this exercise:
INT009A – SOAP Service – Define Server
Objectives
-
To create the Agent side of a web service called getEmployees. In this case, the web service will be the SOAP Server created in Step 8.Create the SOAP Server Business Logic.
-
To define the SOAP Agent Solution using LANSA Integrator Studio.
To achieve these objectives, you will complete the following:
Step 1. Create a New Agent Solution
Step 2. Map Parameters to Program Variables
Step 3. Build the SOAP Agent Solution
Step 4. Deploy the SOAP Agent solution
Step 5. Review required Program to use the SOAP Agent Solution